Commit 067a042a authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Activation de la mise en cache de la config lorsque le mode development est désactivé.

parent 27c3cd1d
Loading
Loading
Loading
Loading
+1 −0
Changes for .gitignore: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
.idea/
/data/cache/
/data/DoctrineModule/
/data/DoctrineORMModule/
.DS_Store
+1 −0
Changes for CHANGELOG.md: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ Journal des modifications
- Migration vers Laminas (back-end).
- Migration vers Bootstrap 5 (front-end).
- Réorganisation des infos affcihées à propos de la connexion dans le menu principal.
- [FIX] Activation de la mise en cache de la config lorsque le mode development est désactivé.

3.0.6
-----
+10 −9
Changes for config/application.config.php: 10 added lines, 9 removed lines.
Original line number Diff line number Diff line
<?php

$modules = [
return [
    'modules' => [
        'Laminas\Cache',
        'Laminas\Filter',
        'Laminas\Form',
@@ -39,9 +40,8 @@ $modules = [
        'Information',
        //'StepStar',
        'Application',
];

$moduleListenerOptions = [
    ],
    'module_listener_options' => [
        'config_glob_paths'    => [
            'config/autoload/{,*.}{global,local}.php',
        ],
@@ -49,9 +49,10 @@ $moduleListenerOptions = [
            __DIR__ . '/../module',
            __DIR__ . '/../vendor',
        ],
];

return [
    'modules' => $modules,
    'module_listener_options' => $moduleListenerOptions,
        '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/',
    ],
];
+0 −5
Changes for config/autoload/global.php: 0 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -62,11 +62,6 @@ return [
        //'cc' => [],
        //'bcc' => [],
    ],
    'module_listener_options' => [
        'config_cache_key'         => 'app_config',
        'module_map_cache_key'     => 'module_map',
        'cache_dir'                => 'data/config/',
    ],
    'doctrine' => [
        'configuration' => [
            'orm_default' => [