1
0
mirror of https://github.com/Yubico/yubikey-ksm.git synced 2025-02-21 15:54:17 +01:00

Make syslog facility configurable.

This commit is contained in:
Simon Josefsson 2009-02-25 11:06:42 +00:00
parent a9bd4a410d
commit 80649c1377
2 changed files with 2 additions and 1 deletions

View File

@ -3,4 +3,5 @@ $dbhost = "localhost";
$dbname = "ykksm";
$dbuser = "ykksmreader";
$dbpasswd = "password";
$logfacility = LOG_LOCAL0;
?>

View File

@ -31,7 +31,7 @@
include 'ykksm-config.php';
include 'ykksm-utils.php';
openlog("ykksm", LOG_PID, LOG_AUTHPRIV)
openlog("ykksm", LOG_PID, $logfacility)
or die("ERR Syslog open error\n");
$otp = $_REQUEST["otp"];