diff options
Diffstat (limited to 'admin.php')
-rw-r--r-- | admin.php | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -29,7 +29,13 @@ define('PHPWG_ROOT_PATH','./'); define('IN_ADMIN', true); include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); -include_once( PHPWG_ROOT_PATH.'admin/include/isadmin.inc.php' ); + +include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); + +// +-----------------------------------------------------------------------+ +// | Check Access and exit when user status is not ok | +// +-----------------------------------------------------------------------+ +check_status(ACCESS_ADMINISTRATOR); // +-----------------------------------------------------------------------+ // | synchronize user informations | |