diff options
Diffstat (limited to 'admin/site_manager.php')
-rw-r--r-- | admin/site_manager.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/admin/site_manager.php b/admin/site_manager.php index 4730b3c77..da75a0e59 100644 --- a/admin/site_manager.php +++ b/admin/site_manager.php @@ -31,6 +31,12 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); // +-----------------------------------------------------------------------+ // | Check Access and exit when user status is not ok | // +-----------------------------------------------------------------------+ + +if (!$conf['enable_synchronization']) +{ + die('synchronization is disabled'); +} + check_status(ACCESS_ADMINISTRATOR); if (!empty($_POST) or isset($_GET['action'])) |