diff --git a/util/automated-search.php b/util/automated-search.php index 022408da..38756677 100644 --- a/util/automated-search.php +++ b/util/automated-search.php @@ -112,7 +112,7 @@ Registry::set('language', $language); -if(ENABLE_SYSLOG == 1) { openlog("piler-automated-search", LOG_PID, LOG_MAIL); } +openlog("piler-automated-search", LOG_PID, LOG_MAIL); /* check if user has authenticated himself. If not, we send him to login */ diff --git a/util/postinstall.sh.in b/util/postinstall.sh.in index 0dd43a9e..45b15f3a 100755 --- a/util/postinstall.sh.in +++ b/util/postinstall.sh.in @@ -417,10 +417,6 @@ webui_install() { echo >> $DOCROOT/config-site.php - echo "\$config['ENABLE_SYSLOG'] = 1;" >> $DOCROOT/config-site.php - - echo >> $DOCROOT/config-site.php - echo "\$config['SMTP_DOMAIN'] = '$HOSTNAME';" >> $DOCROOT/config-site.php echo "\$config['SMTP_FROMADDR'] = 'no-reply@$HOSTNAME';" >> $DOCROOT/config-site.php echo "\$config['ADMIN_EMAIL'] = 'admin@$HOSTNAME';" >> $DOCROOT/config-site.php diff --git a/util/sign.php b/util/sign.php index 10a2e0ab..5fd4af0f 100644 --- a/util/sign.php +++ b/util/sign.php @@ -47,7 +47,7 @@ if ( $options = getopt( $opts, $lopts ) ) require_once($webuidir . "/config.php"); -if(ENABLE_SYSLOG == 1) { openlog("piler-timestamp", LOG_PID, LOG_MAIL); } +openlog("piler-timestamp", LOG_PID, LOG_MAIL); require(DIR_SYSTEM . "/startup.php");