$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")); } /* Set an encryption key if is not set */ if(!trim($settings->_encryptionKey)) $settings->_encryptionKey = md5(uniqid()); if($view) { $view->setParam('settings', $settings); $view->setParam('currenttab', (isset($_REQUEST['currenttab']) ? $_REQUEST['currenttab'] : '')); $view->setParam('accessobject', $accessop); $view($_GET); exit; } ?>