diff options
author | rub <rub@piwigo.org> | 2006-03-08 23:14:53 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2006-03-08 23:14:53 +0000 |
commit | b263f0c996eac52afc222b99fb1e9bcb6b064d65 (patch) | |
tree | 2cb3716ad84764801710483ab7538589c177a6a6 /admin/include/isadmin.inc.php | |
parent | cba56c06ede13f30483ca587f0c79cb0e4d82aaa (diff) |
Step 1 improvement issue 0000301:
o Change status of table #_user_infos
o Don't send password to webmaster, guest, generic
Next Step:
o Functions Check of status
o Restricted Access for user generic
git-svn-id: http://piwigo.org/svn/trunk@1070 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/include/isadmin.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/isadmin.inc.php b/admin/include/isadmin.inc.php index 569fa1f94..eac0b295c 100644 --- a/admin/include/isadmin.inc.php +++ b/admin/include/isadmin.inc.php @@ -27,7 +27,7 @@ include( PHPWG_ROOT_PATH.'admin/include/functions.php' ); -if ($user['status'] != 'admin') +if (!is_admin()) { echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />'; echo '<a href="'.PHPWG_ROOT_PATH.'identification.php">'.$lang['identification'].'</a></div>'; |