$dms, 'user'=>$user)); $accessop = new SeedDMS_AccessOperation($dms, $user, $settings); if (!$accessop->check_view_access($view, $_GET)) { UI::exitError(getMLText("admin_tools"), getMLText("access_denied")); } if (isset($_GET["logname"])) $logname=basename($_GET["logname"], '.log').'.log'; else $logname=null; if (isset($_GET["mode"])) $mode=$_GET["mode"]; else $mode='default'; if ($view) { $view->setParam('logname', $logname); $view->setParam('mode', $mode); $view->setParam('logdir', $settings->_contentDir.'log/'); $view->setParam('accessobject', $accessop); $view($_GET); exit; }