summaryrefslogtreecommitdiffstats
path: root/Website/mutexTry.php
diff options
context:
space:
mode:
Diffstat (limited to 'Website/mutexTry.php')
-rwxr-xr-xWebsite/mutexTry.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/Website/mutexTry.php b/Website/mutexTry.php
index f6b4514..e9dc366 100755
--- a/Website/mutexTry.php
+++ b/Website/mutexTry.php
@@ -11,9 +11,7 @@
//Connection stuff
//DB
-$dbhost = 'localhost';
-$dbuser = 'root';
-$dbpass = 'randompasswordSQL';
+include 'dbconnection.php'
//Socket
$port = 34500;
@@ -21,7 +19,6 @@ $ip = 'localhost';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die('Error connecting to mysql');
-$dbname = 'gsmselftesting';
mysql_select_db($dbname);
//End of connection stuff
include 'mutexFunctions.php'; //mutex functions, isfree, lock and release