Skip to content
Snippets Groups Projects
Select Git revision
  • b448482605df9be4a24c90ea4983b604c92e40b4
  • master default protected
  • unicaen_authentification
  • release_3.1.0
  • 3.x
  • 2.x
  • 4.0.0
  • 3.1.0
  • 2.0.1
  • 3.0.0
  • 2.0.0
  • 1.0.0
12 results

module.config.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    application.config.php 1.13 KiB
    <?php
    /**
     * @license   http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
     * @copyright Copyright (c) 2014-2016 Zend Technologies USA Inc. (http://www.zend.com)
     */
    
    return [
        // Retrieve the list of modules for this application.
        'modules' => include __DIR__ . '/modules.config.php',
        // This should be an array of paths in which modules reside.
        // If a string key is provided, the listener will consider that a module
        // namespace, the value of that key the specific path to that module's
        // Module class.
        'module_listener_options' => [
            'module_paths' => [
                './module',
                './vendor'
            ],
            // Using __DIR__ to ensure cross-platform compatibility. Some platforms --
            // e.g., IBM i -- have problems with globs that are not qualified.
            'config_glob_paths' => [realpath(__DIR__) . '/autoload/{,*.}{global,local}.php'],
            'config_cache_key' => 'application.config.cache',
            'config_cache_enabled' => true,
            'module_map_cache_key' => 'application.module.cache',
            'module_map_cache_enabled' => true,
            'cache_dir' => 'data/cache/',
        ],
    ];