/** * Initialize the security instance parametred */ private static function init() { self::$cfg = new config(factory::loadCfg(__CLASS__)); self::$instance = factory::get('security_'.self::$cfg->use); }