Merge pull request #119 from sparksp/fix/base_path

Fixed laravel path bug
This commit is contained in:
Taylor Otwell 2011-10-16 19:36:33 -07:00
commit 6ed7c832d9
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).'/');