From 3dfc5fc768352d6a883ea9756a2ce73b9ca3b9a6 Mon Sep 17 00:00:00 2001 From: Hannes Van De Vreken Date: Thu, 23 Oct 2014 22:26:50 +0200 Subject: [PATCH] bootstrap/paths.php disappeared Fixing php artisan serve functionality --- server.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server.php b/server.php index 5f187f34..8baeabb0 100644 --- a/server.php +++ b/server.php @@ -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';