Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow Altavista in as guest too

  • Loading branch information...
commit 1ae1e84ec5b5d46aa634e258811b361d3a265cd6 1 parent 4714df2
moodler authored
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();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.