diff options
author | b1galez <b1galez@fbcee277-3294-991b-8290-beb7048acdd6> | 2010-11-20 23:19:51 +0000 |
---|---|---|
committer | b1galez <b1galez@fbcee277-3294-991b-8290-beb7048acdd6> | 2010-11-20 23:19:51 +0000 |
commit | 06caccc4882ebdbb93ef0d4a0f6650e692d4443a (patch) | |
tree | cca3caa2618101bb674d51050682e6b2ef53a258 /yubiserve-config.php | |
parent | Version 1.0 (diff) | |
download | yubico-yubiserve-06caccc4882ebdbb93ef0d4a0f6650e692d4443a.tar.gz yubico-yubiserve-06caccc4882ebdbb93ef0d4a0f6650e692d4443a.tar.bz2 yubico-yubiserve-06caccc4882ebdbb93ef0d4a0f6650e692d4443a.zip |
Version 2.0
git-svn-id: http://yubico-yubiserve.googlecode.com/svn/trunk@4 fbcee277-3294-991b-8290-beb7048acdd6
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"); -} - -?> |