fix bug 451:
when guest access in not allowed identification.php script try to redirect to himself ad infinitum. git-svn-id: http://piwigo.org/svn/trunk@1522 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
7cdf66abf0
commit
3723a95a6c
1 changed files with 2 additions and 1 deletions
|
|
@ -65,7 +65,8 @@ else
|
|||
$user['is_the_guest'] = true;
|
||||
}
|
||||
|
||||
if ($user['is_the_guest'] and !$conf['guest_access'])
|
||||
if ($user['is_the_guest'] and !$conf['guest_access']
|
||||
and (basename($_SERVER['PHP_SELF'])!='identification.php'))
|
||||
{
|
||||
redirect (get_root_url().'identification.php');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue