public function renderSearchStats()
 {
     $this->template->title = __('Search statistics');
     searchlog::init(SEARCHLOG_DIR);
     $this->template->stats = searchlog::stats();
 }
 public function startup()
 {
     parent::startup();
     fulltext::init(FULLTEXT_DIR);
     searchlog::init(SEARCHLOG_DIR);
 }