Changeset 1072 for trunk/admin/include
- Timestamp:
- Mar 9, 2006, 11:46:28 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/isadmin.inc.php
r1070 r1072 26 26 // +-----------------------------------------------------------------------+ 27 27 28 include ( PHPWG_ROOT_PATH.'admin/include/functions.php');28 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 29 29 30 if (!is_admin()) 30 // +-----------------------------------------------------------------------+ 31 // | Check Access and exit when user status is not ok | 32 // +-----------------------------------------------------------------------+ 33 check_status(ACCESS_ADMINISTRATOR); 34 35 /*if (!is_admin()) 31 36 { 32 37 echo '<div style="text-align:center;">'.$lang['access_forbiden'].'<br />'; 33 38 echo '<a href="'.PHPWG_ROOT_PATH.'identification.php">'.$lang['identification'].'</a></div>'; 34 39 exit(); 35 } 40 }*/ 41 36 42 ?>
Note: See TracChangeset
for help on using the changeset viewer.