diff --git a/config-templates/config.php b/config-templates/config.php index 8cad51e039cd9cadc641ba018209cf40dc7289f0..e0f08ce7436865c30b356a68607500424846e54a 100644 --- a/config-templates/config.php +++ b/config-templates/config.php @@ -102,7 +102,7 @@ $config = array ( * * The default is to use LOG_LOCAL5 if available, and fall back to LOG_USER if not. */ - 'logging.facility' => (constant('LOG_LOCAL5') !== NULL) ? constant('LOG_LOCAL5') : LOG_USER, + 'logging.facility' => defined('LOG_LOCAL5') ? constant('LOG_LOCAL5') : LOG_USER, /* Logging: file - Logfilename in the loggingdir from above. */