Browse Source

use env superglobal

Taylor Otwell 11 months ago
parent
commit
071a05bd76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bootstrap/app.php

+ 1 - 1
bootstrap/app.php

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