summaryrefslogtreecommitdiff
path: root/config.php
blob: 680ffa817144507929ad9887c1826ceb874bae1d (plain)
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
26
27
<?php

return [
    'domain' => 'example.com',
    'cookie_host' => '.example.com',
    'admin_email' => 'admin@example.com',

    'db' => [
        'type' => 'mysql',
        'host' => '127.0.0.1',
        'user' => '',
        'password' => '',
        'database' => '',
    ],

    'log_file' => '/var/log/example.com-backend.log',

    'password_salt' => '12345',
    'csrf_token' => '12345',
    'uploads_dir' => '/home/user/files.example.com',
    'uploads_host' => 'files.example.com',

    'dirs_mode' => 0775,
    'files_mode' => 0664,
    'group' => 33, // id -g www-data
    'is_dev' => true,
];