Browse code

Corection mineure, et ajout du menu vers les autres jeux

schardon authored on 26/04/2020 17:26:40
Showing 3 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+*.sqlite
2
+
... ...
@@ -26,5 +26,10 @@ var scInput_JeuNom = '<?php echo $jeuNom; ?>';
26 26
 
27 27
 <div class="creer-go" id="creerGo"><div class="creer-go-btn creer-btn">D&eacute;marrer la partie !</div></div>
28 28
 
29
+<?php
30
+$jeuxlist_racine = "..";
31
+include("../_jeuxlist.php");
32
+?>
33
+
29 34
 </body>
30 35
 </html>
... ...
@@ -8,7 +8,7 @@ include('include/partie.php');
8 8
 include('include/session.php');
9 9
 
10 10
 
11
-if( !$scPartie->exist() || $scPartie->statut == 0 ) {
11
+if( ( !$scPartie->exist() || $scPartie->statut == 0 ) || !$scMoi->exist() ) {
12 12
   include('include/creer.php');
13 13
   exit();
14 14
 }