1
0
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:
Garion Herman 2019-07-18 14:52:45 +12:00
parent 14b35f1935
commit c54f683e95

View File

@ -30,7 +30,10 @@ class SolrConfigStore_Post implements SolrConfigStore
$options['host'] . ':' . $options['port'],
$config['path']
]);
$this->remote = $config['remotepath'];
if (isset($config['remotepath'])) {
$this->remote = $config['remotepath'];
}
}
/**