Drop app_local.php from production and show the mail transport in polls remind
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:
1 parent
f21aead039
commit
7fa33bbbdd
10 files changed
+65
-50
No files matched your search
@@ -372,6 +372,10 @@ return [
|
||||
'default' => [
|
||||
'className' => Connection::class,
|
||||
'driver' => Sqlite::class,
|
||||
// Default: SQLite file in data/. For MySQL/MariaDB/PostgreSQL set DATABASE_URL, e.g.
|
||||
// mysql://user:pass@localhost/plenario?encoding=utf8mb4
|
||||
'database' => ROOT . DS . 'data' . DS . 'plenario.sqlite',
|
||||
'url' => env('DATABASE_URL', null),
|
||||
'persistent' => false,
|
||||
'timezone' => 'UTC',
|
||||
|
||||
@@ -415,6 +419,8 @@ return [
|
||||
'test' => [
|
||||
'className' => Connection::class,
|
||||
'driver' => Sqlite::class,
|
||||
'database' => ROOT . DS . 'tmp' . DS . 'tests.sqlite',
|
||||
'url' => env('DATABASE_TEST_URL', null),
|
||||
'persistent' => false,
|
||||
'timezone' => 'UTC',
|
||||
'encoding' => 'utf8',
|
||||
|
||||
Reference in new issue
Block a user