mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 23:24:57 +00:00
first check for <converters target="fulltext">
in preview of newer versions which will have other targets for converters
This commit is contained in:
parent
c2b73e19ea
commit
806464a3fb
|
@ -511,6 +511,8 @@ class Settings { /* {{{ */
|
||||||
$this->_maxExecutionTime = ini_get("max_execution_time");
|
$this->_maxExecutionTime = ini_get("max_execution_time");
|
||||||
|
|
||||||
// XML Path: /configuration/system/advanced/converters
|
// XML Path: /configuration/system/advanced/converters
|
||||||
|
$converters = $xml->xpath('/configuration/advanced/converters[@target="fulltext"]/converter');
|
||||||
|
if(!$converters)
|
||||||
$converters = $xml->xpath('/configuration/advanced/converters/converter');
|
$converters = $xml->xpath('/configuration/advanced/converters/converter');
|
||||||
$this->_converters = array();
|
$this->_converters = array();
|
||||||
foreach($converters as $converter) {
|
foreach($converters as $converter) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user