public static function initCLI()
    {
        global $PPHP;

        self::$_PATH = array();
        self::$_req['lang']         = $PPHP['config']['global']['default_lang'];
        self::$_req['default_lang'] = $PPHP['config']['global']['default_lang'];
        self::$_req['base'] = '';
        self::$_req['binary'] = true;  // Keep layout template quiet
        self::$_req['path'] = '';
        self::$_req['query'] = '';
        self::$_req['host'] = $PPHP['config']['global']['host'];
        self::$_req['remote_addr'] = '127.0.0.1';
        self::$_req['ssl'] = $PPHP['config']['global']['use_ssl'];
        self::$_req['get'] = array();
        self::$_req['post'] = array();
        self::$_req['path_args'] = array();

        self::_initCommon();

        trigger('language', self::$_req['lang']);
    }