Skip to content
Snippets Groups Projects
Select Git revision
  • cc52cd1cd1502782c634a8ba7f770f10c1a15b6b
  • master default
  • php8.2-docker-services
  • 6.x
  • laminas
  • bertrand.gauthier-master-patch-70311
  • bertrand.gauthier-master-patch-87168
  • laminas_migration
  • sqlite
  • 4.0.0
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 1.0.1
  • 1.0.0
16 results

Module.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/',
        ],
    ];