--- mambo/branches/4.6/includes/sef.php 2006/02/26 17:51:15 332 +++ mambo/branches/4.6/includes/sef.php 2006/03/13 18:15:58 391 @@ -292,12 +292,10 @@ $server = mamboCore::get('mosConfig_live_site'); if ($string == 'index.php') return $server.'/'; - if (strtolower(substr($string,0,9)) != 'index.php' OR eregi('^(([^:/?#]+):)',$string)) return $string; if (mosGetParam($_GET, 'syndstyle', '') == 'yes') $string .= '&syndstyle=yes'; - if (!mamboCore::get('mosConfig_sef')) return $string; - $passed_string = str_replace('&', '&', $string); + if (!mamboCore::get('mosConfig_sef')) return $server.'/'.str_replace( '&', '&', $passed_string ); $string = substr($passed_string,10); if(mamboCore::get('mosConfig_mbf_content') AND strpos("lang=", strtolower($string)) === false) { $string .= "&lang=$iso_client_lang";