mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
use env superglobal
This commit is contained in:
parent
ac8e6fb124
commit
071a05bd76
@ -12,7 +12,7 @@
|
||||
*/
|
||||
|
||||
$app = new Illuminate\Foundation\Application(
|
||||
dirname(__DIR__)
|
||||
$_ENV['LARAVEL_BASE_PATH'] ?? dirname(__DIR__)
|
||||
);
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user