mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 15:05:50 +00:00
FIX for refactored index _location setting
This commit is contained in:
parent
8c2a3d0f91
commit
8f3bf3b923
@ -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');
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user