Drop app_local.php from production and show the mail transport in polls remind
CI / Deploy / PHP 8.4 (push) Successful in 1m11s
CI / Deploy / PHP 8.5 (push) Successful in 1m12s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped

app_local.php takes precedence over config/.env, so a copy made from an older
template forced the file transport and reminders never left the server.
Release package and Docker image now ship without it; app.php reads the
database from DATABASE_URL (SQLite default). app_local.example.php keeps
development defaults only. polls remind prints the transport and warns when
SMTP_HOST is set but SMTP is not used.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-16 14:52:58 +01:00
1 parent f21aead039
commit 7fa33bbbdd
10 files changed
+65 -50

No files matched your search

+2 -2
View File
@@ -85,9 +85,9 @@ jobs:
index.php .htaccess composer.json composer.lock | tar -x -C build
cd "build/$NAME"
rm -f bin/cake.bat bin/bash_completion.sh
# --no-scripts: the installer must not bake a random salt into app_local.php (SECURITY_SALT comes from config/.env)
# --no-scripts: no app_local.php in the package; everything comes from config/.env (see app_local.example.php)
composer install --no-dev --no-scripts --no-interaction --no-progress --prefer-dist --optimize-autoloader
cp config/app_local.example.php config/app_local.php
rm -f config/app_local.example.php
mkdir -p tmp/cache/models tmp/cache/persistent tmp/cache/views tmp/sessions logs data
printf '%s\n' "$VERSION" > VERSION
cd ../..