Fixed laravel path bug

Affects installations where laravel is in a submodule named laravel.
This commit is contained in:
Phill Sparks 2011-10-16 11:14:11 +01:00
parent 48f1879b9f
commit 58807cc5a6
1 changed files with 1 additions and 1 deletions

View File

@ -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).'/');