util: remove ENABLE_SYSLOG from utils

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2017-09-06 19:03:34 +02:00
parent b2c372b0fe
commit 19c41a37fe
3 changed files with 2 additions and 6 deletions

View File

@ -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 */

View File

@ -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

View File

@ -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");