mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-06-22 14:50:12 +02:00
Fix routing for static content with internal webserver
This commit is contained in:
parent
86cc256a82
commit
f04d765365
@ -87,7 +87,7 @@ if (in_array($path, $special)) {
|
||||
$pie->initFromRequest();
|
||||
echo $pie->render();
|
||||
|
||||
} elseif (file_exists($baseDir . $ruri) && is_file($baseDir . $ruri)) {
|
||||
} elseif (file_exists($baseDir . '/' . $path) && is_file($baseDir . '/' . $path)) {
|
||||
return false;
|
||||
} else {
|
||||
include __DIR__ . '/Web.php';
|
||||
|
Loading…
x
Reference in New Issue
Block a user