diff --git a/index.php b/index.php index 68c904982..7cd78dc0f 100644 --- a/index.php +++ b/index.php @@ -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:
php -S {$_SERVER["SERVER_NAME"]}:{$_SERVER["SERVER_PORT"]} system/router.php");
+ die("PHP webserver requires a router to run Grav, please use: php -S {$_SERVER[\"SERVER_NAME\"]}:{$_SERVER[\"SERVER_PORT\"]} system/router.php");
}
}