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

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

parent c0a3e81b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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';