1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

PHP 5.4 fix.

This commit is contained in:
Cameron 2018-08-24 12:51:06 -07:00
parent 5225b129c4
commit 4ab4220093

View File

@ -896,13 +896,13 @@ class lancheck
$feed = 'https://e107.org/languagepacks.xml';
if(!empty(e_VERSION))
$version = e_VERSION;
if(!empty($version))
{
$feed .= "?ver=". preg_replace('/[^\d\.]/','',e_VERSION);
}
$languages = array();
if($rawData = $xml -> loadXMLfile($feed, true))