-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.php
More file actions
25 lines (25 loc) · 875 Bytes
/
config.php
File metadata and controls
25 lines (25 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
$config['db_dsnw'] = 'mysql://' . getenv('MYSQL_USER') . ':' . getenv('MYSQL_PASSWORD') . '@' . getenv('MYSQL_HOST') . ':3306/' . getenv('MYSQL_DATABASE');
$config['default_host'] = 'tls://' . getenv('MAIL_HOST');
$config['smtp_server'] = 'tls://' . getenv('MAIL_HOST');
$config['default_port'] = 143;
$config['smtp_port'] = 587;
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['imap_conn_options'] = '';
$config['smtp_conn_options'] = '';
$config['managesieve_conn_options'] = [
'ssl' => [
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true,
],
];
$config['des_key'] = getenv('DES_KEY');
$config['plugins'] = ['managesieve'];
$config['mime_types'] = '/mime.types';
$config['product_name'] = $_SERVER['HTTP_HOST'];
$config['support_url'] = '';
foreach (glob('/config/*.php') as $f) {
require_once $f;
}