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
1 changed files with 4 additions and 1 deletions

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'];
}
}
/**