unicaen-app.local.php.dist 1.93 KB
Newer Older
Bertrand Gauthier's avatar
Bertrand Gauthier committed
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
/**
 * UnicaenApp Local Configuration
 *
 * If you have a ./config/autoload/ directory set up for your project, 
 * drop this config file in it and change the values as you wish.
 */
$settings = array(
    /**
     * Connexions aux annuaires LDAP.
     * NB: Compte admin requis pour récupération coordonnées, affectations, rôles, etc.
     */
    'ldap' => array(
        'connection' => array(
            'default' => array(
                'params' => array(
                    'host'                => 'ldap.unicaen.fr',
                    'username'            => "uid=xxxxxxxxx,ou=xxxxxxxxxx,dc=domain,dc=fr",
                    'password'            => "xxxxxxxxxxxx",
                    'baseDn'              => "ou=xxxxxxxxxxx,dc=domain,dc=fr",
                    'bindRequiresDn'      => true,
                    'accountFilterFormat' => "(&(objectClass=posixAccount)(supannAliasLogin=%s))",
                )
            )
        )
    ),
    /**
     * Connexions aux bases de données via Doctrine (http://www.doctrine-project.org/).
     */
//    'doctrine' => array(
//        'connection' => array(
//            'orm_default' => array(
//                'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
//                'params' => array(
//                    'host'     => 'localhost',
//                    'port'     => '3306',
//                    'user'     => 'root',
//                    'password' => 'root',
//                    'dbname'   => 'squelette',
//                )
//            ),
//        ),
//    ),
    /**
     * Options concernant l'envoi de mail
     */
    'mail' => array(
        'transport_options' => array(
            'host' => 'smtp.unicaen.fr',
            'port' => 25,
        ),
        'redirect_to' => array('dsi.applications@unicaen.fr'),
        'do_not_send' => false,
    ),
);

/**
 * You do not need to edit below this line
 */
return array(
    'unicaen-app' => $settings,
);