mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-06-18 02:31:39 +02:00
If no remote dir set for WebDAV, just use the index name by itself
This commit is contained in:
parent
e89a89a009
commit
a6fd64eacd
|
@ -154,7 +154,11 @@ class Solr_Configure extends BuildTask {
|
|||
echo "done\n";
|
||||
} else {
|
||||
echo "Creating configuration...";
|
||||
$service->coreCreate($index, "$remote/$index");
|
||||
$instanceDir = $indexName;
|
||||
if ($remote) {
|
||||
$instanceDir = "$remote/$instanceDir";
|
||||
}
|
||||
$service->coreCreate($indexName, $instanceDir);
|
||||
echo "done\n";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user