/** * Cargar la configuración desde el archivo * * @param StorageInterface $Storage */ public static function loadConfig(StorageInterface $Storage) { if (Util::checkReload() || gettype(Session::getConfig()) !== 'object' || time() >= Session::getConfigTime() + self::TIMEOUT_REFRESH) { Session::setConfig(self::arrayMapper($Storage)); Session::setConfigTime(time()); } }