Add docker container definition

Change-Id: If32020e6b8e8bb816eb54533554b18cc5302b5c9
diff --git a/php/change_password.php b/php/change_password.php
index 17d64bd..26cb709 100644
--- a/php/change_password.php
+++ b/php/change_password.php
@@ -6,7 +6,7 @@
 	Security::checkIsSignedIn();
 
 	$credentials = new Credentials();
-	$usersdb = $credentials->usersdb;
+	$usersdb = $credentials->usersdb();
 
 	date_default_timezone_set("Europe/Madrid");
 
diff --git a/php/db.php b/php/db.php
index 2043b87..1291b10 100644
--- a/php/db.php
+++ b/php/db.php
@@ -3,7 +3,7 @@
 
 // Create connection
 $credentials = new Credentials();
-$conn = new mysqli($credentials->servername, $credentials->username, $credentials->password, $credentials->dbname);
+$conn = new mysqli($credentials->servername(), $credentials->username(), $credentials->password(), $credentials->dbname());
 
 if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
 $conn->set_charset("utf8");
diff --git a/php/login.php b/php/login.php
index f86aa68..c06149e 100644
--- a/php/login.php
+++ b/php/login.php
@@ -4,7 +4,7 @@
 	require_once("security.php");
 
 	$credentials = new Credentials();
-	$usersdb = $credentials->usersdb;
+	$usersdb = $credentials->usersdb();
 
 	date_default_timezone_set("Europe/Madrid");
 	
diff --git a/php/request.php b/php/request.php
index ac2c8cf..39f17dd 100644
--- a/php/request.php
+++ b/php/request.php
@@ -3,8 +3,8 @@
 	require 'utils.php';
 
 	$credentials = new Credentials();
-	$usersdb = $credentials->usersdb;
-	$mortsdb = $credentials->mortsdb;
+	$usersdb = $credentials->usersdb();
+	$mortsdb = $credentials->mortsdb();
 
 	// Do the query
 	$queries = [""];
diff --git a/php/security.php b/php/security.php
index 9842f3b..7f441ca 100644
--- a/php/security.php
+++ b/php/security.php
@@ -30,7 +30,7 @@
 
 		$credentials = new Credentials();
 
-		$query = $conn->prepare("SELECT id, password FROM ".$credentials->usersdb." WHERE id = ?");
+		$query = $conn->prepare("SELECT id, password FROM ".$credentials->usersdb()." WHERE id = ?");
 		$query->bind_param("i", $id);
 
 		$query->execute();
diff --git a/php/send_thread.php b/php/send_thread.php
index 131627d..5e03843 100644
--- a/php/send_thread.php
+++ b/php/send_thread.php
@@ -3,6 +3,7 @@
   require 'utils.php';
 	require_once("security.php");
 
+	// Yup, this is a f*ature, not a b*g. Please be responsible when exploit*ng this :) Have fun with it, but please don't cross the line!
   $victimid = (int)$_POST["victim-id"];
   $killerid = (int)$_POST["killer-id"];
   $msgcontent = mysqli_real_escape_string($conn, $_POST["msg-content"]);
diff --git a/php/utils.php b/php/utils.php
index 1c41567..80c5d84 100644
--- a/php/utils.php
+++ b/php/utils.php
@@ -55,8 +55,8 @@
 		$users = [];
 
 		$credentials = new Credentials();
-		$usersdb = $credentials->usersdb;
-		$mortsdb = $credentials->mortsdb;
+		$usersdb = $credentials->usersdb();
+		$mortsdb = $credentials->mortsdb();
 
 		// Prepare the query
 		$query = "SELECT * FROM $usersdb";