?? GreyFile — Mystic File Browser

Current path: home/webdevt/cryptoimpot.fr/config/autoload/



?? Go up: /home/webdevt/cryptoimpot.fr/config

?? Viewing: global.php

<?php
/**
 * Global Configuration Override
 *
 * You can use this file for overriding configuration values from modules, etc.
 * You would place values in here that are agnostic to the environment and not
 * sensitive to security.
 *
 * @NOTE: In practice, this file will typically be INCLUDED in your source
 * control, so do not include passwords or other sensitive information in this
 * file.
 */

use Laminas\Session\Storage\SessionArrayStorage;
use Laminas\Session\Validator\RemoteAddr;
use Laminas\Session\Validator\HttpUserAgent;

return [
//    // Session configuration.
//    'session_config' => [
//        // Session cookie will expire in 1 hour.
//        'cookie_lifetime' => 60*60*1,     
//        // Session data will be stored on server maximum for 30 days.
//        'gc_maxlifetime'     => 60*60*24*30, 
//    ],
//    // Session manager configuration.
//    'session_manager' => [
//        // Session validators (used for security).
//        'validators' => [
//            RemoteAddr::class,
//            HttpUserAgent::class,
//        ]
//    ],
    // Session storage configuration.
//    'session_storage' => [
//        'type' => SessionArrayStorage::class
//    ],
    'number_per_page_authorize' => array(30, 60, 120),


    
    // Session configuration.
    'session_config' => [
        'cookie_lifetime'     => 60*60*24, // Session cookie will expire in 1 hour.
        'gc_maxlifetime'      => 60*60*24*30, // How long to store session data on server (for 1 month).        
    ],
    // Session manager configuration.
    'session_manager' => [
        'config' => [
            'class' => Session\Config\SessionConfig::class,
            'options' => [
                'name' => 'ledgio',
            ],
        ],
        'remember_me_seconds' => 80000,
        'cookie_lifetime' => 80000,
        'storage' => Session\Storage\SessionArrayStorage::class,
        'validators' => [
            RemoteAddr::class,
            HttpUserAgent::class,
        ],
    ],
//    'session_manager' => [
//        // Session validators (used for security).
//        'validators' => [
//            RemoteAddr::class,
//            HttpUserAgent::class,
//        ]
//
//
//    ],
    // Session storage configuration.
    'session_storage' => [
        'type' => SessionArrayStorage::class
    ],
    // Cache configuration.
    'caches' => [
        'FilesystemCache' => [
            'adapter' => [
                'name'    => Filesystem::class,
                'options' => [
                    // Store cached data in this directory.
                    'cache_dir' => './data/cache',
                    // Store cached data for 1 hour.
                    'ttl' => 60*60*1 
                ],
            ],
            'plugins' => [
                [
                    'name' => 'serializer',
                    'options' => [                        
                    ],
                ],
            ],
        ],
    ],
    'doctrine' => [        
        // migrations configuration
        'migrations_configuration' => [
            'orm_default' => [
                'directory' => 'data/Migrations',
                'name'      => 'Doctrine Database Migrations',
                'namespace' => 'Migrations',
                'table'     => 'migrations',
            ],
        ],
    ],
    
    
    
    
    
    // ...
];


??

??