2016-04-12 14:39:18 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Configuration file generated by ZFTool
|
|
|
|
* The previous configuration file is stored in application.config.old
|
|
|
|
*
|
|
|
|
* @see https://github.com/zendframework/ZFTool
|
|
|
|
*/
|
2016-11-17 14:55:24 +01:00
|
|
|
$env = getenv('APP_ENV') ?: 'production';
|
2017-03-10 14:16:28 +01:00
|
|
|
$appconfdir = getenv('APP_CONF_DIR') ? getenv('APP_CONF_DIR') : '';
|
|
|
|
|
|
|
|
$confpaths = [ 'config/autoload/{,*.}{global,local}.php' ];
|
2017-03-10 15:30:47 +01:00
|
|
|
$datapath = "data";
|
2017-03-10 14:16:28 +01:00
|
|
|
if( ! empty($appconfdir) ){
|
|
|
|
$confpaths[] = $appconfdir.'/local.php';
|
2017-03-10 15:30:47 +01:00
|
|
|
$datapath = $appconfdir.'/data';
|
2017-03-10 14:16:28 +01:00
|
|
|
}
|
2016-12-16 16:31:24 +01:00
|
|
|
|
2016-04-12 14:39:18 +02:00
|
|
|
return array(
|
|
|
|
'modules' => array(
|
|
|
|
'DoctrineModule',
|
|
|
|
'DoctrineORMModule',
|
|
|
|
'MonarcCore',
|
2016-08-25 15:51:02 +02:00
|
|
|
'MonarcFO',
|
2016-04-12 14:39:18 +02:00
|
|
|
),
|
|
|
|
'module_listener_options' => array(
|
|
|
|
'module_paths' => array(
|
|
|
|
'./module',
|
|
|
|
'./vendor'
|
|
|
|
),
|
2017-03-10 14:16:28 +01:00
|
|
|
'config_glob_paths' => $confpaths,
|
2016-11-17 14:55:24 +01:00
|
|
|
'config_cache_enabled' => ($env == 'production'),
|
|
|
|
'config_cache_key' => 'c8aaaaa11586f8b1bf5565cc6064e70a', // md5('config_cache_key_monarc')
|
|
|
|
'module_map_cache_enabled' => ($env == 'production'),
|
|
|
|
'module_map_cache_key' => '664579376c4dcdcaa0bcdd0f7e7bf25b', // md5('module_map_cache_key_monarc'),
|
2017-03-10 15:30:47 +01:00
|
|
|
'cache_dir' => $datapath.'/cache/',
|
2016-11-17 14:55:24 +01:00
|
|
|
'check_dependencies' => ($env != 'production'),
|
2016-04-12 14:39:18 +02:00
|
|
|
),
|
|
|
|
);
|