$dms, 'user'=>$user)); $accessop = new SeedDMS_AccessOperation($dms, null, $user, $settings); if (!$settings->_enableDebugMode) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } if (!$accessop->check_view_access($view, $_GET)) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } if($view) { $view->setParam('settings', $settings); $view->setParam('accessobject', $accessop); $view->setParam('notifier', $notifier); $view($_GET); exit; }