|
36 | 36 | // Set the database connection charset to full Unicode (utf8mb4). |
37 | 37 | // Changing this value will likely corrupt the special characters. |
38 | 38 | // You have been warned. |
39 | | -$a->config['system']['db_charset'] = "utf8mb4"; |
| 39 | +$a->config['system']['db_charset'] = 'utf8mb4'; |
40 | 40 |
|
41 | 41 | // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". |
42 | 42 | // It can be changed later and only applies to timestamps for anonymous viewers. |
43 | 43 |
|
44 | | -$default_timezone = 'America/Los_Angeles'; |
| 44 | +$default_timezone = 'Europe/Berlin'; |
45 | 45 |
|
46 | 46 | // Default system language |
47 | 47 |
|
48 | | -$a->config['system']['language'] = 'en'; |
| 48 | +$a->config['system']['language'] = 'de'; |
49 | 49 |
|
50 | 50 | // What is your site name? |
51 | 51 |
|
|
61 | 61 | // In order to perform system administration via the admin panel, admin_email |
62 | 62 | // must precisely match the email address of the person logged in. |
63 | 63 |
|
64 | | -$a->config['register_policy'] = REGISTER_OPEN; |
| 64 | +$a->config['register_policy'] = REGISTER_APPROVE; |
65 | 65 | $a->config['register_text'] = ''; |
66 | 66 | $a->config['admin_email'] = 'admin@example.com'; |
67 | 67 |
|
|
84 | 84 |
|
85 | 85 | // allowed themes (change this from admin panel after installation) |
86 | 86 |
|
87 | | -$a->config['system']['allowed_themes'] = 'quattro,vier,duepuntozero,smoothly,frio'; |
| 87 | +$a->config['system']['allowed_themes'] = 'frio'; |
88 | 88 |
|
89 | 89 | // default system theme |
90 | 90 |
|
|
106 | 106 |
|
107 | 107 | // Authentication cookie lifetime, in days |
108 | 108 | $a->config['system']['auth_cookie_lifetime'] = 7; |
| 109 | + |
| 110 | +$a->config['system']['smtp'] = true; |
| 111 | +$a->config['system']['smtp_server'] = getenv('MAIL_SMTP_SERVER'); |
| 112 | +$a->config['system']['smtp_port'] = getenv('MAIL_SMTP_PORT'); |
| 113 | +$a->condig['system']['smtp_port_s'] = getenv('MAIL_SMTPS_PORT'); |
| 114 | +$a->config['system']['smtp_username'] = getenv('MAIL_SMTP_USERNAME'); |
| 115 | +$a->config['system']['smtp_password'] = getenv('MAIL_SMTP_PASSWORD'); |
| 116 | +$a->config['system']['smtp_from'] = getenv('MAIL_FROM'); |
| 117 | +$a->config['system']['smtp_domain'] = getenv('MAIL_DOMAIN'); |
| 118 | +$a->config['system']['smtp_secure'] = 'tls'; |
0 commit comments