mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-20 16:42:59 +02:00
- restricted access mode deleted : set all your categories as private
instead git-svn-id: http://piwigo.org/svn/trunk@651 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -158,17 +158,14 @@ function update_user( $user_id, $mail_address, $status,
|
||||
|
||||
function check_login_authorization($guest_allowed = true)
|
||||
{
|
||||
global $user,$lang,$conf,$page;
|
||||
global $user,$lang;
|
||||
|
||||
if ( $user['is_the_guest'])
|
||||
{
|
||||
if ( $conf['access'] == 'restricted' || !$guest_allowed )
|
||||
if ($user['is_the_guest'] and !$guest_allowed)
|
||||
{
|
||||
echo '<div style="text-align:center;">'.$lang['only_members'].'<br />';
|
||||
echo '<a href="./identification.php">'.$lang['ident_title'].'</a></div>';
|
||||
exit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function setup_style($style)
|
||||
|
||||
Reference in New Issue
Block a user