//
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);