Fix: Deprecated since php 5.3.0, syslog variables no longer need to be initialized
This commit is contained in:
parent
412976d6e3
commit
f66b2f5316
@ -37,7 +37,10 @@ define('EURO',chr(128));
|
|||||||
// Definition des constantes syslog
|
// Definition des constantes syslog
|
||||||
if (function_exists("define_syslog_variables"))
|
if (function_exists("define_syslog_variables"))
|
||||||
{
|
{
|
||||||
define_syslog_variables();
|
if (version_compare(PHP_VERSION, '5.3.0', '<'))
|
||||||
|
{
|
||||||
|
define_syslog_variables(); // Deprecated since php 5.3.0, syslog variables no longer need to be initialized
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user