Ignore:
Timestamp:
Mar 23, 2010, 6:56:50 AM (14 years ago)
Author:
rub
Message:

Add function is_webmaster (like is_admin function)
Add on ignore list the directory local/personal

File:
1 edited

Legend:

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

    r5271 r5272  
    12341234{
    12351235  return is_autorize_status(ACCESS_ADMINISTRATOR, $user_status);
     1236}
     1237
     1238/*
     1239 * Return if user is, at least, a webmaster
     1240 * @return bool
     1241*/
     1242 function is_webmaster($user_status = '')
     1243{
     1244  return is_autorize_status(ACCESS_WEBMASTER, $user_status);
    12361245}
    12371246
Note: See TracChangeset for help on using the changeset viewer.