Merged altavista from stable

This commit is contained in:
moodler
2005-07-14 04:18:59 +00:00
parent 8ebeafe582
commit 33674080d6
+2
View File
@@ -392,6 +392,8 @@ 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'], 'altavista') !== false ) {
$USER = guest_user();
}
}
}