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'], $options['host'] . ':' . $options['port'],
$config['path'] $config['path']
]); ]);
$this->remote = $config['remotepath'];
if (isset($config['remotepath'])) {
$this->remote = $config['remotepath'];
}
} }
/** /**