mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Remove the server file.
This commit is contained in:
parent
91f174821f
commit
80fb944e45
19
server.php
19
server.php
@ -1,19 +0,0 @@
|
||||
<?php
|
||||
|
||||
$uri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
|
||||
|
||||
$uri = urldecode($uri);
|
||||
|
||||
$public = __DIR__ . '/public';
|
||||
|
||||
$requested = $public . $uri;
|
||||
|
||||
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
|
||||
// built-in PHP web server. This provides a convenient way to test a Laravel
|
||||
// application without having installed a "real" web server software here.
|
||||
if ($uri !== '/' and file_exists($requested))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
require_once $public . '/index.php';
|
Loading…
x
Reference in New Issue
Block a user