From 806464a3fb3115399f0d49bea76b50b7b2e80911 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 26 Jun 2015 16:21:05 +0200 Subject: [PATCH] first check for in preview of newer versions which will have other targets for converters --- inc/inc.ClassSettings.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/inc.ClassSettings.php b/inc/inc.ClassSettings.php index 112a6dfa1..fb4ba1d30 100644 --- a/inc/inc.ClassSettings.php +++ b/inc/inc.ClassSettings.php @@ -511,7 +511,9 @@ class Settings { /* {{{ */ $this->_maxExecutionTime = ini_get("max_execution_time"); // XML Path: /configuration/system/advanced/converters - $converters = $xml->xpath('/configuration/advanced/converters/converter'); + $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) { $tab = $converter->attributes();