From cf1856192689c89333192e79674d4e73159f2beb Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 3 Nov 2013 21:46:56 -0800 Subject: [PATCH] Fix for xml class url conflicts. --- e107_handlers/xml_class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/e107_handlers/xml_class.php b/e107_handlers/xml_class.php index 6857834f9..1f8929a44 100644 --- a/e107_handlers/xml_class.php +++ b/e107_handlers/xml_class.php @@ -768,6 +768,7 @@ class xmlClass if (strpos($fname, '://') !== false) { $this->getRemoteFile($fname); + $this->_feedUrl = false; // clear it to avoid conflicts. } else { @@ -778,6 +779,8 @@ class xmlClass } if ($this->xmlFileContents) { + + if ($replace_constants == true) { $this->xmlFileContents = $tp->replaceConstants($this->xmlFileContents, '', true);