version-constant

Added a constant that contains the version and that is defined in constants.php
This commit is contained in:
foin137
2020-09-13 14:58:39 +02:00
parent c1aa3b49f6
commit 038bc3c3e6
2 changed files with 5 additions and 4 deletions

View File

@@ -1756,7 +1756,7 @@ if (isset($_COOKIE['SpielID']))
?> ?>
</section> </section>
<footer id="info"> <footer id="info">
v1.2.1, Erstellt von Florian Lindenbauer<br> <?php echo "". _VERSION ?>, Erstellt von Florian Lindenbauer<br>
<a href="http://www.werwolfonline.eu/info" target="_blank">Was ist Werwolf</a><br> <a href="http://www.werwolfonline.eu/info" target="_blank">Was ist Werwolf</a><br>
<a href="http://www.werwolfonline.eu/info/index.php/anleitung" target="_blank">Anleitung</a><br> <a href="http://www.werwolfonline.eu/info/index.php/anleitung" target="_blank">Anleitung</a><br>
</footer> </footer>

View File

@@ -1,8 +1,9 @@
<?php <?php
//Phasen //Constants
define("_VERSION","v1.2.2");
define("_LISTMAXRELOADTIME",3000); define("_LISTMAXRELOADTIME",3000);
//Phasen
define ("PHASESETUP",0); define ("PHASESETUP",0);
define ("PHASESPIELSETUP",1); define ("PHASESPIELSETUP",1);
define ("PHASENACHTBEGINN",2); define ("PHASENACHTBEGINN",2);