]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/rewrite_functions.php
Fix for you-are-here navi
[mailer.git] / inc / libs / rewrite_functions.php
index 14343603a51ae43d28dd8a71c8c3fe4043f3645f..22e14f9b07aadc8b27b5c7b412428c858f723dc7 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);
@@ -102,7 +102,7 @@ function REWRITE_LINKS($HTML)
        }
 
        // Replace all array elements through
-       foreach ($REPLACE['search'] as $k=>$v)
+       foreach ($REPLACE['search'] as $k => $v)
        {
                if (eregi("$v=", $test))
                {