mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
PHP 5.4 fix.
This commit is contained in:
@@ -896,13 +896,13 @@ class lancheck
|
|||||||
|
|
||||||
$feed = 'https://e107.org/languagepacks.xml';
|
$feed = 'https://e107.org/languagepacks.xml';
|
||||||
|
|
||||||
if(!empty(e_VERSION))
|
$version = e_VERSION;
|
||||||
|
|
||||||
|
if(!empty($version))
|
||||||
{
|
{
|
||||||
$feed .= "?ver=". preg_replace('/[^\d\.]/','',e_VERSION);
|
$feed .= "?ver=". preg_replace('/[^\d\.]/','',e_VERSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$languages = array();
|
$languages = array();
|
||||||
|
|
||||||
if($rawData = $xml -> loadXMLfile($feed, true))
|
if($rawData = $xml -> loadXMLfile($feed, true))
|
||||||
|
Reference in New Issue
Block a user