diff options
Diffstat (limited to 'yubiserve-config.php')
-rw-r--r-- | yubiserve-config.php | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/yubiserve-config.php b/yubiserve-config.php deleted file mode 100644 index b5654c2..0000000 --- a/yubiserve-config.php +++ /dev/null @@ -1,28 +0,0 @@ -<?php -/* - -Written by Alessio Periloso <nospam *at* periloso.it> -Version 1.0: 21/05/2010 - -Licensed under GPL License (see LICENSE file) - -*/ - -$filename = 'yubikeys.sqlite'; - - - -if (!extension_loaded('mcrypt')) { - die("mcrypt not loaded!"); -} - -$logfacility = LOG_LOCAL0; -openlog("yubiserve", LOG_PID, $logfacility) - or die("ERR Syslog open error\n"); - -if (!($db = new SQLiteDatabase($filename))) { - syslog(LOG_INFO, "Cannot access database"); - die("Cannot access database"); -} - -?> |