[SUCS Devel] [Git][sucssite/gameauth][master] Move gameauth db to somewhere that doesn't screw up games on a restart

Imran Hussain imranh at sucs.org
Wed Aug 31 10:44:29 BST 2016


Imran Hussain pushed to branch master at sucssite / gameauth


Commits:
7b847726 by Imran Hussain at 2016-08-31T10:45:33+01:00
Move gameauth db to somewhere that doesn't screw up games on a restart

- - - - -


2 changed files:

- controll_2.php
- gameauth-task.php


Changes:

=====================================
controll_2.php
=====================================
--- a/controll_2.php
+++ b/controll_2.php
@@ -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);


=====================================
gameauth-task.php
=====================================
--- a/gameauth-task.php
+++ b/gameauth-task.php
@@ -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';
 



View it on GitLab: https://projects.sucs.org/sucssite/gameauth/commit/7b847726015f6856edfe55fa84db98f999760aa7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20160831/982dc753/attachment.html>


More information about the Devel mailing list