Skip to content
Browse files

Allow Altavista in as guest too

  • Loading branch information...
1 parent 4714df2 commit 1ae1e84ec5b5d46aa634e258811b361d3a265cd6 moodler committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/setup.php
View
2 lib/setup.php
@@ -385,7 +385,7 @@ class object {};
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();
}
}

0 comments on commit 1ae1e84

Please sign in to comment.
Something went wrong with that request. Please try again.