FIX for refactored index _location setting

This commit is contained in:
Cam Findlay 2014-11-25 19:21:44 +13:00
parent 8c2a3d0f91
commit 8f3bf3b923

View File

@ -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');
}