bootstrap/paths.php disappeared

Fixing php artisan serve functionality
This commit is contained in:
Hannes Van De Vreken 2014-10-23 22:26:50 +02:00
parent d70914b84d
commit 3dfc5fc768
1 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@
$uri = urldecode($uri);
$paths = require __DIR__.'/bootstrap/paths.php';
$public = __DIR__ . '/public';
$requested = $paths['public'].$uri;
$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
@ -16,4 +16,4 @@
return false;
}
require_once $paths['public'].'/index.php';
require_once $public . '/index.php';