mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
FIX Make remotepath optional to restore compatibility with CWP
This commit is contained in:
parent
14b35f1935
commit
c54f683e95
@ -30,7 +30,10 @@ class SolrConfigStore_Post implements SolrConfigStore
|
|||||||
$options['host'] . ':' . $options['port'],
|
$options['host'] . ':' . $options['port'],
|
||||||
$config['path']
|
$config['path']
|
||||||
]);
|
]);
|
||||||
$this->remote = $config['remotepath'];
|
|
||||||
|
if (isset($config['remotepath'])) {
|
||||||
|
$this->remote = $config['remotepath'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user