public static function pageHash($file = "") { if (fusion_get_settings("site_seo") == 1 && !preg_match('/administration/i', $_SERVER['PHP_SELF'])) { //$hash = md5($_SERVER['REQUEST_URI']); $hash = md5("seo"); } else { if (!empty($file)) { $hash = md5($file); } else { $hash = md5($_SERVER['PHP_SELF']); } } return (string) $hash; }