added an option to syslog sphinx queries

This commit is contained in:
SJ
2012-10-23 19:11:49 +02:00
parent 79282987a5
commit e96eab3c1b
3 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,9 @@ $language = new Language();
Registry::set('language', $language);
if(ENABLE_SYSLOG == 1) { openlog("piler-webui", LOG_PID, LOG_MAIL); }
/* check if user has authenticated himself. If not, we send him to login */
Registry::set('username', getAuthenticatedUsername());