diff --git a/Werwolf.php b/Werwolf.php index d35517a..5e63f90 100644 --- a/Werwolf.php +++ b/Werwolf.php @@ -1,3 +1,26 @@ +. + +*/ +?> + + diff --git a/gamelogreload.php b/gamelogreload.php index f9a5be9..18ed170 100644 --- a/gamelogreload.php +++ b/gamelogreload.php @@ -1,5 +1,25 @@ . + +*/ + include "includes/includes.php"; header("Content-Type: text/html; charset=utf-8"); header('Cache-Control: no-cache, no-store, max-age=0, must-revalidate'); diff --git a/includes/constants.php b/includes/constants.php index e55e233..6550a5f 100644 --- a/includes/constants.php +++ b/includes/constants.php @@ -1,11 +1,35 @@ . + +*/ + //Settings: define ("_NOGAMECREATIONERRORMESSAGE", ""); //Falls nicht "": Kein Spiel kann erstellt werden, stattdessen wird der string angezeigt. //define ("_NOGAMECREATIONERRORMESSAGE", "Wartungsarbeiten bis ..."); //Falls nicht "": Kein Spiel kann erstellt werden, stattdessen wird der string angezeigt. define("_LISTMAXRELOADTIME",3000); define("_MAXPLAYERS",50); -//Constants, do not change! + +/////////////////////////////////// +// Constants, do not change! +/////////////////////////////////// define("_VERSION","v1.2.7"); //Phasen diff --git a/includes/functions.php b/includes/functions.php index ea2e954..1b2b1e5 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -1,4 +1,25 @@ . + +*/ + function start() { //Diese Funktion zeigt das Startformular an, bei dem der Nutzer aufgefordert wird, ein Spiel zu erstellen, oder eine ID einzugeben diff --git a/includes/includes.example.php b/includes/includes.example.php index 2ddd6a3..b615816 100644 --- a/includes/includes.example.php +++ b/includes/includes.example.php @@ -1,5 +1,26 @@ . + +*/ + + +$id = "id"; // Ihre ID (username) zum MySQL Server $pw = "pw"; // Passwort zum MySQL Server $host = "localhost"; // Host ("localhost" oder "IP-Adresse") $db = "werwolf"; // Name Ihrer Datenbank diff --git a/listreload.php b/listreload.php index 58d9273..8c0cf3c 100644 --- a/listreload.php +++ b/listreload.php @@ -1,5 +1,25 @@ . + +*/ + include "includes/includes.php"; include "includes/constants.php"; header("Content-Type: text/html; charset=utf-8"); diff --git a/reload.php b/reload.php index 6014afa..88758fe 100644 --- a/reload.php +++ b/reload.php @@ -1,4 +1,25 @@ . + +*/ + + header("Content-Type: text/html; charset=utf-8"); header('Cache-Control: no-cache, no-store, max-age=0, must-revalidate'); header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past