Ensure storage subdirs exist on boot
This commit is contained in:
@@ -36,6 +36,8 @@ ensure_helper_scripts() {
|
||||
prepare_storage() {
|
||||
cd "$APP_TARGET"
|
||||
|
||||
mkdir -p storage/app storage/framework/cache storage/framework/sessions storage/framework/views storage/logs
|
||||
|
||||
if [[ ! -h public/storage ]]; then
|
||||
php artisan storage:link >/dev/null 2>&1 || true
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user