We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 236ee6d commit 0bafaa8Copy full SHA for 0bafaa8
src/Illuminate/Foundation/Application.php
@@ -535,6 +535,10 @@ public function storagePath($path = '')
535
return $this->joinPaths($this->storagePath ?: $_ENV['LARAVEL_STORAGE_PATH'], $path);
536
}
537
538
+ if (isset($_SERVER['LARAVEL_STORAGE_PATH'])) {
539
+ return $this->joinPaths($this->storagePath ?: $_SERVER['LARAVEL_STORAGE_PATH'], $path);
540
+ }
541
+
542
return $this->joinPaths($this->storagePath ?: $this->basePath('storage'), $path);
543
544
0 commit comments