mirror of
https://github.com/getgrav/grav.git
synced 2026-02-26 08:31:42 +01:00
Bug fi (#1808)
This commit is contained in:
committed by
Andy Miller
parent
af1465278d
commit
084a5c7fbe
@@ -17,7 +17,7 @@ if (!is_file($autoload)) {
|
||||
|
||||
if (PHP_SAPI == 'cli-server') {
|
||||
if (!isset($_SERVER['PHP_CLI_ROUTER'])) {
|
||||
die("PHP webserver requires a router to run Grav, please use: <pre>php -S {$_SERVER["SERVER_NAME"]}:{$_SERVER["SERVER_PORT"]} system/router.php</pre>");
|
||||
die("PHP webserver requires a router to run Grav, please use: <pre>php -S {$_SERVER[\"SERVER_NAME\"]}:{$_SERVER[\"SERVER_PORT\"]} system/router.php</pre>");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user