first check for <converters target="fulltext">

in preview of newer versions which will have other targets for
converters
This commit is contained in:
Uwe Steinmann 2015-06-26 16:21:05 +02:00
parent c2b73e19ea
commit 806464a3fb

View File

@ -511,6 +511,8 @@ class Settings { /* {{{ */
$this->_maxExecutionTime = ini_get("max_execution_time");
// XML Path: /configuration/system/advanced/converters
$converters = $xml->xpath('/configuration/advanced/converters[@target="fulltext"]/converter');
if(!$converters)
$converters = $xml->xpath('/configuration/advanced/converters/converter');
$this->_converters = array();
foreach($converters as $converter) {