chore: allow overriding Laravel storage path using $APP_STORAGE_PATH

Signed-off-by: Matthew Penner <me@matthewp.io>
This commit is contained in:
Matthew Penner
2025-03-10 00:56:05 -06:00
parent 0fa09a675a
commit 81bccc4645
+4
View File
@@ -15,6 +15,10 @@ $app = new Illuminate\Foundation\Application(
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
);
if (isset($_ENV['APP_STORAGE_PATH'])) {
$app->useStoragePath($_ENV['APP_STORAGE_PATH']);
}
/*
|--------------------------------------------------------------------------
| Bind Important Interfaces