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-09 23:29:24 -06:00
parent 0fa09a675a
commit 81bccc4645
No known key found for this signature in database

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