Officially support PHP 7.2.0.

SVN:trunk[5888]
This commit is contained in:
Denis Flaven
2018-06-15 16:37:11 +00:00
parent f132d751f5
commit 8943a67f85
5 changed files with 19 additions and 3 deletions

View File

@@ -1360,6 +1360,12 @@ class Config
throw new ConfigException('Error in configuration file',
array('file' => $sConfigFile, 'error' => $e->getMessage()));
}
catch(Error $e)
{
// PHP 7
throw new ConfigException('Error in configuration file',
array('file' => $sConfigFile, 'error' => $e->getMessage().' at line '.$e->getLine()));
}
if (strlen($sNoise) > 0)
{
// Note: sNoise is an html output, but so far it was ok for me (e.g. showing the entire call stack)