Avoid php notice
This commit is contained in:
@@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
require __DIR__.'/app/common.php';
|
require __DIR__.'/app/common.php';
|
||||||
|
|
||||||
if (! $container['router']->dispatch($_SERVER['REQUEST_URI'], $_SERVER['QUERY_STRING'])) {
|
if (! $container['router']->dispatch($_SERVER['REQUEST_URI'], isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : '')) {
|
||||||
die('Page not found!');
|
die('Page not found!');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user