mirror of
https://github.com/pterodactyl/panel.git
synced 2025-12-10 15:40:07 -06:00
chore: allow overriding Laravel storage path using $APP_STORAGE_PATH
Signed-off-by: Matthew Penner <me@matthewp.io>
This commit is contained in:
parent
0fa09a675a
commit
81bccc4645
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user