mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 21:00:13 +01:00
util: remove ENABLE_SYSLOG from utils
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
c366d8d333
commit
5e862101ab
@ -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 */
|
/* 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 >> $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_DOMAIN'] = '$HOSTNAME';" >> $DOCROOT/config-site.php
|
||||||
echo "\$config['SMTP_FROMADDR'] = 'no-reply@$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
|
echo "\$config['ADMIN_EMAIL'] = 'admin@$HOSTNAME';" >> $DOCROOT/config-site.php
|
||||||
|
@ -47,7 +47,7 @@ if ( $options = getopt( $opts, $lopts ) )
|
|||||||
|
|
||||||
require_once($webuidir . "/config.php");
|
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");
|
require(DIR_SYSTEM . "/startup.php");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user