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:
parent
5225b129c4
commit
4ab4220093
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user