From 58807cc5a69ff64230214cadc099250545fe04b4 Mon Sep 17 00:00:00 2001 From: Phill Sparks Date: Sun, 16 Oct 2011 11:14:11 +0100 Subject: [PATCH] Fixed laravel path bug Affects installations where laravel is in a submodule named laravel. --- laravel/bootstrap/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/bootstrap/core.php b/laravel/bootstrap/core.php index 1bd93b1d..02e94a5a 100644 --- a/laravel/bootstrap/core.php +++ b/laravel/bootstrap/core.php @@ -9,7 +9,7 @@ define('BLADE_EXT', '.blade.php'); define('APP_PATH', realpath($application).'/'); -define('BASE_PATH', realpath(str_replace('laravel', '', $laravel)).'/'); +define('BASE_PATH', realpath("$laravel/..").'/'); define('PACKAGE_PATH', realpath($packages).'/'); define('PUBLIC_PATH', realpath($public).'/'); define('STORAGE_PATH', realpath($storage).'/');