Skip to content

Commit 071a05b

Browse files
committed
use env superglobal
1 parent ac8e6fb commit 071a05b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
$app = new Illuminate\Foundation\Application(
15-
dirname(__DIR__)
15+
$_ENV['LARAVEL_BASE_PATH'] ?? dirname(__DIR__)
1616
);
1717

1818
/*

0 commit comments

Comments
 (0)