1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

Fix for xml class url conflicts.

This commit is contained in:
Cameron
2013-11-03 21:46:56 -08:00
parent d4de0a4af9
commit cf18561926

View File

@@ -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);