Allow Babelfish in to translate
This commit is contained in:
@@ -385,6 +385,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'], 'babelfish.altavista.com') !== false ) {
|
||||
$USER = guest_user();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user