mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-09-25 01:53:03 +02:00
fix: display db timestamps in Brussels time
(heure de dépôt was showing UTC) - feat: add date_depot column (real TFE deposit date) with CSV round-trip + Brussels→UTC sanitization - fix: keep PHP default tz at UTC to preserve token/share-link expiry consistency; convert to Brussels only in db_datetime()
This commit is contained in:
@@ -97,6 +97,14 @@ chown www-data:xamxam /var/log/xamxam
|
||||
chmod 2775 /var/log/xamxam
|
||||
ok "Log dir: /var/log/xamxam owned by www-data:xamxam (2775)"
|
||||
|
||||
# Backups dir must be writable by both www-data (cron) and the deploy user
|
||||
# (xamxam group) so scripts/migrate.sh can write a pre-deploy snapshot before
|
||||
# running migrations.
|
||||
mkdir -p /var/backups/xamxam
|
||||
chown www-data:xamxam /var/backups/xamxam
|
||||
chmod 2775 /var/backups/xamxam
|
||||
ok "Backup dir: /var/backups/xamxam owned by www-data:xamxam (2775)"
|
||||
|
||||
# ── Step 2: Nginx config ──────────────────────────────────────────────────────
|
||||
printf "\n📋 Step 2: Deploying nginx configuration...\n"
|
||||
echo "--------------------------------------------"
|
||||
|
||||
Reference in New Issue
Block a user