src/Config.php
public static function loadParameters() : void
    {
        // APPLICATION PARAMETERS

        // Application root directory
        defined('PHUNDER_ROOT_DIR') or define('PHUNDER_ROOT_DIR', __DIR__ . '/../');

        // template directory path (from root dir)
        defined('PHUNDER_TEMPLATE_DIRECTORY') or define('PHUNDER_TEMPLATE_DIRECTORY', 'templates');



        // SESSION PARAMETERS

        // session name
        defined('PHUNDER_SESSION_NAME') or define('PHUNDER_SESSION_NAME', 'PHUNDERSESSIONID');

        // session name
        defined('PHUNDER_SESSION_HTTPS') or define('PHUNDER_SESSION_HTTPS', false);

        // session regeneration mode
        defined('PHUNDER_SESSION_REGENERATE_MODE') or define('PHUNDER_SESSION_REGENERATE_MODE', '1');

        // session requests amount before regeneration
        defined('PHUNDER_SESSION_REGENERATE_REQUEST_AMOUNT') or define('PHUNDER_SESSION_REGENERATE_REQUEST_AMOUNT', '10');

        // session time before regeneration (in seconds)
        defined('PHUNDER_SESSION_REGENERATE_TIME') or define('PHUNDER_SESSION_REGENERATE_TIME', '600');
    }
public static function loadParameters() : void
    {
        // APPLICATION PARAMETERS

        // Application root directory
        defined('PHUNDER_ROOT_DIR') or define('PHUNDER_ROOT_DIR', __DIR__ . '/../');

        // template directory path (from root dir)
        defined('PHUNDER_TEMPLATE_DIRECTORY') or define('PHUNDER_TEMPLATE_DIRECTORY', 'templates');



        // SESSION PARAMETERS

        // session name
        defined('PHUNDER_SESSION_NAME') or define('PHUNDER_SESSION_NAME', 'PHUNDERSESSIONID');

        // session name
        defined('PHUNDER_SESSION_HTTPS') or define('PHUNDER_SESSION_HTTPS', false);

        // session regeneration mode
        defined('PHUNDER_SESSION_REGENERATE_MODE') or define('PHUNDER_SESSION_REGENERATE_MODE', '1');

        // session requests amount before regeneration
        defined('PHUNDER_SESSION_REGENERATE_REQUEST_AMOUNT') or define('PHUNDER_SESSION_REGENERATE_REQUEST_AMOUNT', '10');

        // session time before regeneration (in seconds)
        defined('PHUNDER_SESSION_REGENERATE_TIME') or define('PHUNDER_SESSION_REGENERATE_TIME', '600');
    }
public static function loadParameters ( ) : void { // APPLICATION PARAMETERS // Application root directory defined ( 'PHUNDER_ROOT_DIR' ) or define ( 'PHUNDER_ROOT_DIR' , __DIR__ . '/../' ) ; // template directory path (from root dir) defined ( 'PHUNDER_TEMPLATE_DIRECTORY' ) or define ( 'PHUNDER_TEMPLATE_DIRECTORY' , 'templates' ) ; // SESSION PARAMETERS // session name defined ( 'PHUNDER_SESSION_NAME' ) or define ( 'PHUNDER_SESSION_NAME' , 'PHUNDERSESSIONID' ) ; // session name defined ( 'PHUNDER_SESSION_HTTPS' ) or define ( 'PHUNDER_SESSION_HTTPS' , false ) ; // session regeneration mode defined ( 'PHUNDER_SESSION_REGENERATE_MODE' ) or define ( 'PHUNDER_SESSION_REGENERATE_MODE' , '1' ) ; // session requests amount before regeneration defined ( 'PHUNDER_SESSION_REGENERATE_REQUEST_AMOUNT' ) or define ( 'PHUNDER_SESSION_REGENERATE_REQUEST_AMOUNT' , '10' ) ; // session time before regeneration (in seconds) defined ( 'PHUNDER_SESSION_REGENERATE_TIME' ) or define ( 'PHUNDER_SESSION_REGENERATE_TIME' , '600' ) ; }
Define undefined Phunder constants

@return void
Define undefined Phunder constants