]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
define syslog variables in common.php
authorEvan Prodromou <evan@prodromou.name>
Thu, 17 Jul 2008 16:36:13 +0000 (12:36 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 17 Jul 2008 16:36:13 +0000 (12:36 -0400)
darcs-hash:20080717163613-84dde-2684415a03d1a2754e148e4921ce39ad075bbc5b.gz

lib/common.php
lib/util.php

index a49806b05c3e1d6b1c04b3a8a0744a8709f7200e..25dbbf341c6e00135c054b4d6198296f5c14af68 100644 (file)
@@ -26,6 +26,8 @@ define('AVATAR_STREAM_SIZE', 48);
 define('AVATAR_MINI_SIZE', 24);
 define('MAX_AVATAR_SIZE', 256 * 1024);
 
+define_syslog_variables();
+
 # global configuration object
 
 require_once('PEAR.php');
index 1aa9d2944c9b044da1930fdfb3cb37639bf3cfa2..249c467d9017abfbe9e823b38eb5b3a163f156c8 100644 (file)
@@ -1054,7 +1054,6 @@ function common_ensure_syslog() {
        static $initialized = false;
        if (!$initialized) {
                global $config;
-               define_syslog_variables();
                openlog($config['syslog']['appname'], 0, LOG_USER);
                $initialized = true;
        }