summaryrefslogtreecommitdiffstats
path: root/Website/mutexSmartTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'Website/mutexSmartTest.php')
-rw-r--r--Website/mutexSmartTest.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/Website/mutexSmartTest.php b/Website/mutexSmartTest.php
index 33dfbb0..cfb8916 100644
--- a/Website/mutexSmartTest.php
+++ b/Website/mutexSmartTest.php
@@ -8,20 +8,15 @@
<body onscroll="scrollEvent();" onload="loaderInit();">
<div>
<?php
-
//Connection stuff
//DB
-$dbhost = 'localhost';
-$dbuser = 'root';
-$dbpass = 'randompasswordSQL';
+include 'dbconnection.php';
-//Socket
$port = 34500;
$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