sathyashrayan

application.config.php

Mar 8th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.01 KB | None | 0 0
  1. <?php
  2. /**
  3.  * If you need an environment-specific system or application configuration,
  4.  * there is an example in the documentation
  5.  * @see http://framework.zend.com/manual/current/en/tutorials/config.advanced.html#environment-specific-system-configuration
  6.  * @see http://framework.zend.com/manual/current/en/tutorials/config.advanced.html#environment-specific-application-configuration
  7.  */
  8. return array(
  9.     // This should be an array of module namespaces used in the application.
  10.     'modules' => array(
  11.         'Application',
  12.     'ZendDeveloperTools',              
  13.     'hello\Earth',
  14.     'hello\Mars'
  15.     ),
  16.  
  17.     // These are various options for the listeners attached to the ModuleManager
  18.     'module_listener_options' => array(
  19.         // This should be an array of paths in which modules reside.
  20.         // If a string key is provided, the listener will consider that a module
  21.         // namespace, the value of that key the specific path to that module's
  22.         // Module class.
  23.         'module_paths' => array(
  24.             './module',
  25.             './vendor'
  26.         ),
  27.  
  28.         // An array of paths from which to glob configuration files after
  29.         // modules are loaded. These effectively override configuration
  30.         // provided by modules themselves. Paths may use GLOB_BRACE notation.
  31.         'config_glob_paths' => array(
  32.             'config/autoload/{{,*.}global,{,*.}local}.php',
  33.         ),
  34.  
  35.         // Whether or not to enable a configuration cache.
  36.         // If enabled, the merged configuration will be cached and used in
  37.         // subsequent requests.
  38.         //'config_cache_enabled' => $booleanValue,
  39.  
  40.         // The key used to create the configuration cache file name.
  41.         //'config_cache_key' => $stringKey,
  42.  
  43.         // Whether or not to enable a module class map cache.
  44.         // If enabled, creates a module class map cache which will be used
  45.         // by in future requests, to reduce the autoloading process.
  46.         //'module_map_cache_enabled' => $booleanValue,
  47.  
  48.         // The key used to create the class map cache file name.
  49.         //'module_map_cache_key' => $stringKey,
  50.  
  51.         // The path in which to cache merged configuration.
  52.         //'cache_dir' => $stringPath,
  53.  
  54.         // Whether or not to enable modules dependency checking.
  55.         // Enabled by default, prevents usage of modules that depend on other modules
  56.         // that weren't loaded.
  57.         // 'check_dependencies' => true,
  58.     ),
  59.  
  60.     // Used to create an own service manager. May contain one or more child arrays.
  61.     //'service_listener_options' => array(
  62.     //     array(
  63.     //         'service_manager' => $stringServiceManagerName,
  64.     //         'config_key'      => $stringConfigKey,
  65.     //         'interface'       => $stringOptionalInterface,
  66.     //         'method'          => $stringRequiredMethodName,
  67.     //     ),
  68.     // ),
  69.  
  70.    // Initial configuration with which to seed the ServiceManager.
  71.    // Should be compatible with Zend\ServiceManager\Config.
  72.    // 'service_manager' => array(),
  73. );
Add Comment
Please, Sign In to add comment