mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:31:58 +01:00
util: remove ENABLE_SYSLOG from utils
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
b2c372b0fe
commit
19c41a37fe
@ -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 */
|
||||
|
@ -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
|
||||
|
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user