<?php
$env = getenv('APPLICATION_ENV') ?: 'development';

return array(
    'modules' => array(
        'Application',
		'ATPCore'
    ),

    'module_listener_options' => array(
        'module_paths' => array(
            './module',
            './vendor',
        ),

        'config_glob_paths' => array(
            "config/autoload/{,*.}{global,{$env},local}.php",
        ),

		'config_cache_enabled' => ($env == 'production'),
        'config_cache_key' => 'app_config',
        'module_map_cache_enabled' => ($env == 'production'),
        'module_map_cache_key' => 'module_map',
        'cache_dir' => 'data/config/',
        'check_dependencies' => ($env != 'production')
    ),
);

<?php

return \ATP\Application\Config::defaultOptions(array(
    'modules' => array(
        'Application',
		'ATPCore'
    )),
	getenv('APPLICATION_ENV') ?: 'development'
);

Move default app options into ATP
Move default app options into ATP
