From c45cd4583b35631ec090c2be2de4d1aa2aad4375 Mon Sep 17 00:00:00 2001 From: secretr Date: Tue, 16 Feb 2010 21:35:09 +0000 Subject: [PATCH] XML handler - old global caused installation troubles, killed (thanks Luceos) --- e107_handlers/xml_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/xml_class.php b/e107_handlers/xml_class.php index 167536924..266108ade 100644 --- a/e107_handlers/xml_class.php +++ b/e107_handlers/xml_class.php @@ -614,7 +614,7 @@ class xmlClass */ function loadXMLfile($fname, $parse = false, $replace_constants = false) { - global $tp; + $tp = e107::getParser(); if (empty($fname)) {