Fixed laravel path bug
Affects installations where laravel is in a submodule named laravel.
This commit is contained in:
parent
48f1879b9f
commit
58807cc5a6
|
@ -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).'/');
|
||||
|
|
Loading…
Reference in New Issue