Changeset 1072 for trunk/admin/include


Ignore:
Timestamp:
Mar 9, 2006, 11:46:28 PM (19 years ago)
Author:
rub
Message:

Step 2 improvement issue 0000301:

o Add and use Functions Check of status
o Restricted Access for user generic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/isadmin.inc.php

    r1070 r1072  
    2626// +-----------------------------------------------------------------------+
    2727
    28 include( PHPWG_ROOT_PATH.'admin/include/functions.php' );
     28include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
    2929
    30 if (!is_admin())
     30// +-----------------------------------------------------------------------+
     31// | Check Access and exit when user status is not ok                      |
     32// +-----------------------------------------------------------------------+
     33check_status(ACCESS_ADMINISTRATOR);
     34
     35/*if (!is_admin())
    3136{
    3237  echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />';
    3338  echo '<a href="'.PHPWG_ROOT_PATH.'identification.php">'.$lang['identification'].'</a></div>';
    3439  exit();
    35 }
     40}*/
     41
    3642?>
Note: See TracChangeset for help on using the changeset viewer.