Commit 7b847726 authored by Imran Hussain's avatar Imran Hussain

Move gameauth db to somewhere that doesn't screw up games on a restart

parent c0a3e81b
......@@ -28,7 +28,7 @@
session_start();
$DB_PATH = "/tmp/gameauth.db";
$DB_PATH = "/opt/gameauth/gameauth.db";
$DB_CON;
if (!file_exists($DB_PATH)){
$DB_CON = new SQLite3($DB_PATH);
......
......@@ -5,7 +5,7 @@
$returnVal;
$db;
$dbPATH = '/tmp/gameauth.db';
$dbPATH = '/opt/gameauth/gameauth.db';
$allow_ipPATH = '/var/www/gameauth/allow_ip.sh';
$deny_ipPATH = '/var/www/gameauth/deny_ip.sh';
......
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