Changeset 651 for trunk/include


Ignore:
Timestamp:
Dec 20, 2004, 11:03:04 PM (20 years ago)
Author:
plg
Message:
  • restricted access mode deleted : set all your categories as private instead
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_user.inc.php

    r650 r651  
    159159function check_login_authorization($guest_allowed = true)
    160160{
    161   global $user,$lang,$conf,$page;
    162 
    163   if ( $user['is_the_guest'])
    164   {
    165   if ( $conf['access'] == 'restricted' || !$guest_allowed )
     161  global $user,$lang;
     162
     163  if ($user['is_the_guest'] and !$guest_allowed)
    166164  {
    167165    echo '<div style="text-align:center;">'.$lang['only_members'].'<br />';
    168166    echo '<a href="./identification.php">'.$lang['ident_title'].'</a></div>';
    169167    exit();
    170   }
    171168  }
    172169}
Note: See TracChangeset for help on using the changeset viewer.