1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 11:04:18 +02:00

Added lastErrorMessage() method to XML class.

This commit is contained in:
Cameron
2017-09-14 12:07:30 -07:00
parent f921a4bf5b
commit 0fda16e713
2 changed files with 10 additions and 3 deletions

View File

@@ -864,7 +864,7 @@ class lancheck
$languages = array();
if($rawData = $xml -> loadXMLfile($feed, TRUE))
if($rawData = $xml -> loadXMLfile($feed, true))
{
if(empty($rawData['language']))
@@ -894,6 +894,10 @@ class lancheck
}
else
{
e107::getDebug()->log("Language Pack Feed Failed: ".$xml->getLastErrorMessage());
}
return $languages;