]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/rewrite_functions.php
Initial non-working import for Primera, Wernis now as static word
[mailer.git] / inc / libs / rewrite_functions.php
index 14343603a51ae43d28dd8a71c8c3fe4043f3645f..308b42da68ec462cf5ff66e39e2341c2dd36be69 100644 (file)
@@ -41,10 +41,10 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 //
 function REWRITE_LINKS($HTML)
 {
-       global $_GET, $CONFIG;
+       global $_CONFIG;
 
        // Skip rewriting for the admin area (which search engine may enter here???)
-       if (ereg($GLOBALS['module'], $CONFIG['rewrite_skipped_mods'])) return $HTML;
+       if (ereg($GLOBALS['module'], $_CONFIG['rewrite_skip'])) return $HTML;
 
        // Strip slashes with double-backslashes for the preg_replace() function
        $URL = str_replace("/", "\\/", URL);