Loading .ht.router.php +6 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,12 @@ * @see http://php.net/manual/en/features.commandline.webserver.php */ if (PHP_SAPI !== 'cli-server') { // Bail out if this is not PHP's Development Server. header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden'); exit; } $url = parse_url($_SERVER['REQUEST_URI']); if (file_exists(__DIR__ . $url['path'])) { // Serve the requested resource as-is. Loading core/assets/scaffold/files/ht.router.php +6 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,12 @@ * @see http://php.net/manual/en/features.commandline.webserver.php */ if (PHP_SAPI !== 'cli-server') { // Bail out if this is not PHP's Development Server. header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden'); exit; } $url = parse_url($_SERVER['REQUEST_URI']); if (file_exists(__DIR__ . $url['path'])) { // Serve the requested resource as-is. Loading Loading
.ht.router.php +6 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,12 @@ * @see http://php.net/manual/en/features.commandline.webserver.php */ if (PHP_SAPI !== 'cli-server') { // Bail out if this is not PHP's Development Server. header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden'); exit; } $url = parse_url($_SERVER['REQUEST_URI']); if (file_exists(__DIR__ . $url['path'])) { // Serve the requested resource as-is. Loading
core/assets/scaffold/files/ht.router.php +6 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,12 @@ * @see http://php.net/manual/en/features.commandline.webserver.php */ if (PHP_SAPI !== 'cli-server') { // Bail out if this is not PHP's Development Server. header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden'); exit; } $url = parse_url($_SERVER['REQUEST_URI']); if (file_exists(__DIR__ . $url['path'])) { // Serve the requested resource as-is. Loading