Allow Altavista in as guest too

This commit is contained in:
moodler
2005-07-14 04:16:04 +00:00
parent 4714df2e67
commit 1ae1e84ec5
+1 -1
View File
@@ -385,7 +385,7 @@ global $THEME;
if (empty($_SESSION['USER']) and !empty($_SERVER['HTTP_REFERER'])) {
if (strpos($_SERVER['HTTP_REFERER'], 'google') !== false ) {
$USER = guest_user();
} else if (strpos($_SERVER['HTTP_REFERER'], 'babelfish.altavista.com') !== false ) {
} else if (strpos($_SERVER['HTTP_REFERER'], 'altavista') !== false ) {
$USER = guest_user();
}
}