mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
Create index location if it doesn't exist
This commit is contained in:
parent
6227e1eb68
commit
cdb55f94f8
@ -26,6 +26,8 @@ class RebuildLuceneDocsIndex extends BuildTask {
|
||||
|
||||
ini_set("memory_limit", -1);
|
||||
ini_set('max_execution_time', 0);
|
||||
|
||||
Filesystem::makeFolder(DocumentationSearch::get_index_location());
|
||||
|
||||
// only rebuild the index if we have to. Check for either flush or the time write.lock.file
|
||||
// was last altered
|
||||
|
Loading…
Reference in New Issue
Block a user