initial commit
[namibia] / config / autoload / global.php
1 <?php
2 /**
3  * Global Configuration Override
4  *
5  * You can use this file for overriding configuration values from modules, etc.
6  * You would place values in here that are agnostic to the environment and not
7  * sensitive to security.
8  *
9  * @NOTE: In practice, this file will typically be INCLUDED in your source
10  * control, so do not include passwords or other sensitive information in this
11  * file.
12  */
13
14 return array(
15         'DateTimeFormat'  => 'Y-m-d H:i:s',
16         'DateFormat'      => 'Y-m-d',
17         'TimeFormat'      => 'H:i:s',
18         'Host'            => 'http://www.bid4cars.co.za',
19     'CashCarsHost'    => 'http://www.wepay4cars.co.za',
20         'DocumentUrl'     => 'http://www.bid4cars.co.za/documents/',
21         'DocumentPath'    => __DIR__ . '/../../public/documents/',
22         'ImageUrl'        => 'http://www.bid4cars.co.za/img/bin/',
23         'ImagePath'       => __DIR__ . '/../../public/img/bin/',
24         'ThumbnailUrl'    => 'http://www.bid4cars.co.za/img/bin/thumbnail/',
25         'ThumbnailPath'   => __DIR__ . '/../../public/img/bin/thumbnail/',
26         'VideoUrl'        => 'http://www.bid4cars.co.za/videos/',
27         'VideoPath'       => __DIR__ . '/../../public/videos/',
28         'ProjectRootPath' => __DIR__ . '/../../',
29         'SMS'             => array(
30                 'Username' => 'SHANEK',
31                 'Password' => 'Shanek21',
32                 'ApiId'    => '3414263'
33         ),
34         'Transunion'      => array(
35                 'Username' => 'Bid4Cars01',
36                 'Password' => 'B1d4C@rS!*@'
37         ),
38         'service_manager' => array(
39                 'factories' => array(
40                         'doctrine.cache.zcache' => function ($sm)
41                         {
42                                 $cache = new \Doctrine\Common\Cache\ZendShmCache();
43                                 return $cache;
44                         },
45                 ),
46         ),
47         'doctrine'        => array(
48                 'connection'    => array(
49                         'orm_default' => array(
50                                 'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
51                                 'params'      => array(
52                                         'host'    => 'localhost',
53                                         'port'    => '3306',
54                                         'dbname'  => 'mig_db',
55                                         'charset' => 'utf8'
56                                 )
57                         )
58                 ),
59                 'configuration' => array(
60                         'orm_default' => array(
61                                 'generate_proxies' => false,
62                                 'proxy_namespace'  => 'DoctrineProxies',
63                                 'metadata_cache'   => IS_DEV_ENV ? 'array' : 'zcache',
64                                 'query_cache'      => IS_DEV_ENV ? 'array' : 'zcache',
65                                 'result_cache'     => IS_DEV_ENV ? 'array' : 'zcache'
66                         )
67                 ),
68         )
69 );