English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The define_syslog_variables() function initializes all variables related to syslog.
define_syslog_variables ( void )
Initialize all variables used in the syslog function.
No return value.
<?php // Check if the syslog variables have been defined if(!get_cfg_var('define_syslog_variables')) { define_syslog_variables(); } // Open log openlog('', $LOG_ODELAY, $LOG_MAIL | $LOG_USER); // Continue script... ?>