Files
admin/config/application.config.php
2025-09-13 01:08:51 +08:00

27 lines
1.1 KiB
PHP

<?php
declare(strict_types=1);
if(!defined('APP_PATH')) define('APP_PATH', dirname(__DIR__));
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/',
],
];