Possibility to disable new games

Include possibility to disable new games by changing a constant in constants.php
This commit is contained in:
foin137
2023-11-05 16:02:36 +01:00
parent 93b38cfc47
commit 2bf710e215
2 changed files with 145 additions and 124 deletions

View File

@@ -1,9 +1,13 @@
<?php
//Constants
define("_VERSION","v1.2.7");
//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!
define("_VERSION","v1.2.7");
//Phasen
define ("PHASESETUP",0);
define ("PHASESPIELSETUP",1);