return $GLOBALS['content_type'];
}
+// Logs wrong SERVER_NAME attempts
+function logWrongServerNameRedirect () {
+ // Is ext-sql_patches at least version 0.9.1?
+ if (isExtensionInstalledAndNewer('sql_patches', '0.9.1')) {
+ // Then log it away
+ SQL_QUERY("INSERT INTO `{?_MYSQL_PREFIX?}_server_name_log` (`server_name`) VALUES('{%pipe,detectServerName%}')",
+ __FUNCTION__, __LINE__);
+ } // END - if
+}
+
// [EOF]
?>