Ensure storage subdirs exist on boot

This commit is contained in:
Codex Agent
2026-01-13 22:49:47 +01:00
parent a733df6221
commit fa333deed9

View File

@@ -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