$dms, 'user'=>$user)); if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } if(!$settings->_enableFullSearch) { UI::exitError(getMLText("admin_tools"),getMLText("fulltextsearch_disabled")); } $index = $fulltextservice->Indexer(); if(!$index) { UI::exitError(getMLText("admin_tools"),getMLText("no_fulltextindex")); } if($view) { $view->setParam('luceneclassdir', $settings->_luceneClassDir); $view->setParam('lucenedir', $settings->_luceneDir); $view->setParam('index', $index); $view($_GET); exit; }