use env superglobal

This commit is contained in:
Taylor Otwell 2018-11-20 21:57:43 -06:00
parent ac8e6fb124
commit 071a05bd76

View File

@ -12,7 +12,7 @@
*/
$app = new Illuminate\Foundation\Application(
dirname(__DIR__)
$_ENV['LARAVEL_BASE_PATH'] ?? dirname(__DIR__)
);
/*