main-local.php 2.4 KB
Newer Older
Marcello Pivanti's avatar
Marcello Pivanti committed
1
2
3
4
5
6
7
8
9
10
11
12
<?php

/**
 * Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
 * OPEN 2.0
 *
 * @package    arter\amos\basic\template
 * @category   CategoryName
 * @author     Elite Division S.r.l.
 */

return [
Marcello Pivanti's avatar
Marcello Pivanti committed
13
    'name' => 'Emilia-Romagna Open Innovation',
Marcello Pivanti's avatar
Marcello Pivanti committed
14
15
16
    'components' => [
        'db' => [
            'class' => 'yii\db\Connection',
Marcello Pivanti's avatar
Marcello Pivanti committed
17
18
19
            'dsn' => 'mysql:host=localhost;dbname=ADD_HERE_DATABASE_NAME',
            'username' => 'ADD_HERE_DATABASE_USERNAME',
            'password' => 'ADD_HERE_DATABASE_PASSWORD',
Marcello Pivanti's avatar
Marcello Pivanti committed
20
21
22
23
            'charset' => 'utf8',
            'enableSchemaCache' => true,
            'schemaCacheDuration' => 88000,
            'schemaCache' => 'schemaCache',
Marcello Pivanti's avatar
Marcello Pivanti committed
24
            'attributes' => [
Marcello Pivanti's avatar
Marcello Pivanti committed
25
26
27
28
29
30
31
32
33
34
35
                PDO::ATTR_PERSISTENT => true
            ]
        ],
        'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            'viewPath' => '@common/mail',
            // send all mails to a file by default. You have to set
            // 'useFileTransport' to false and configure a transport
            // for the mailer to send real emails.
            'useFileTransport' => true,
        ],
Marcello Pivanti's avatar
Marcello Pivanti committed
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
        'i18n' => [
            'translations' => [
                '*' => [
                    'extraCategoryPaths' => [
                        'amosadmin' => '@common/translation/amosadmin/i18n',
                        'amosbestpractice' => '@common/translation/amosbestpractice/i18n',
                        'amoscommunity' => '@common/translation/amoscommunity/i18n',
                        'amoscore' => '@common/translation/amoscore/i18n',
                        'amosinvitations' => '@common/translation/amosinvitations/i18n',
                        'amosmyactivities' => '@common/translation/amosmyactivities/i18n',
                        'amosnews' => '@common/translation/amosnews/i18n',
                        'amosorganizzazioni' => '@common/translation/amosorganizzazioni/i18n',
                        'amospartnershipprofiles' => '@common/translation/amospartnershipprofiles/i18n',
                        'amostag' => '@common/translation/amostag/i18n',
                        'amosticket' => '@common/translation/amosticket/i18n',
                        'asterplatform' => '@common/translation/asterplatform/i18n',
                        'logininforequest' => '@common/translation/logininforequest/i18n',
                    ]
                ]
            ]
        ]
    ]
Marcello Pivanti's avatar
Marcello Pivanti committed
58
];