wernis extension is now alpha code (only listing in admin area is missing), naming...
[mailer.git] / inc / libs / rewrite_functions.php
index 14343603a51ae43d28dd8a71c8c3fe4043f3645f..e282612b4bff31b5652fc1cddc8f5fba6796a9c1 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_skipped_mods'])) return $HTML;
 
        // Strip slashes with double-backslashes for the preg_replace() function
        $URL = str_replace("/", "\\/", URL);