Commit 44035832 authored by Ad Schellevis's avatar Ad Schellevis

(captiveportal, new) flip database location to /conf/

parent 152e392b
...@@ -67,7 +67,7 @@ class Voucher implements IAuthConnector ...@@ -67,7 +67,7 @@ class Voucher implements IAuthConnector
*/ */
private function openDatabase() private function openDatabase()
{ {
$db_path = '/tmp/vouchers_' . $this->refid . '.db'; $db_path = '/conf/vouchers_' . $this->refid . '.db';
$this->dbHandle = new \SQLite3($db_path); $this->dbHandle = new \SQLite3($db_path);
$results = $this->dbHandle->query('select count(*) cnt from sqlite_master'); $results = $this->dbHandle->query('select count(*) cnt from sqlite_master');
$row = $results->fetchArray(); $row = $results->fetchArray();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment