Commit b43d1a0c authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Config : il faut une valeur de config par défaut pour 'hostlocalization'.

parent d9e27ec3
Loading
Loading
Loading
Loading
Loading
+13 −7
Changes for config/module.config.php: 13 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -51,8 +51,20 @@ use UnicaenApp\View\Helper\Upload\UploaderHelperFactory;
use UnicaenApp\View\Helper\UserProfileSelect;
use UnicaenApp\View\Helper\UserProfileSelectFactory;


return [
    /**
     * Paramétrage pour autorisation ou non de la connexion à une app de l'exterieur de l'établissement.
     */
    'hostlocalization' => [
        'activated' => false,
        'proxies' => [
            //xxx.xx.xx.xxx
        ],
        'reverse-proxies' => [
            //xxx.xx.xx.xxx
        ],
        'masque-ip' => '',
    ],
    'router'          => [
        'routes' => [
            // Base “route”, which describes the base match needed, the root of the tree
@@ -250,9 +262,6 @@ return [
            ],
        ],
    ],



    'console'         => [
        'router'       => [
            'routes' => [
@@ -283,9 +292,6 @@ return [
            'display_exceptions'       => true,
        ],
    ],



    'service_manager' => [
        'factories'          => [
            'translator'                  => 'Laminas\I18n\Translator\TranslatorServiceFactory',