getConstants()); } /** * Get the set storage type * * @return string */ public static function get() { global $aiowps_firewall_constants; $storage_type = isset($aiowps_firewall_constants->AIOS_SESSION_STORAGE_TYPE) ? strtolower($aiowps_firewall_constants->AIOS_SESSION_STORAGE_TYPE) : self::FILESYSTEM; return self::is_valid($storage_type) ? $storage_type : self::FILESYSTEM; } }