mirror of
https://github.com/pterodactyl/panel.git
synced 2025-12-11 19:21:34 -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__)
|
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (isset($_ENV['APP_STORAGE_PATH'])) {
|
||||||
|
$app->useStoragePath($_ENV['APP_STORAGE_PATH']);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Bind Important Interfaces
|
| Bind Important Interfaces
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user