mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-31 22:12:26 +01:00 
			
		
		
		
	util: remove ENABLE_SYSLOG from utils
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
		| @@ -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"); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user