diff --git a/app/_config.php b/app/_config.php index 24acdbc..e73a135 100644 --- a/app/_config.php +++ b/app/_config.php @@ -61,7 +61,7 @@ Config::inst()->update('DocumentationSearch', 'boost_by_path', array( // Set shared index (avoid issues with different temp paths between CLI and web users) if(file_exists(BASE_PATH . '/.lucene-index')) { - DocumentationSearch::set_index(BASE_PATH . '/.lucene-index'); + Config::inst()->update('DocumentationSearch', 'index_location', BASE_PATH . '/.lucene-index'); }