diff --git a/html/index.php b/html/index.php index ba8fd82..84b1f3c 100644 --- a/html/index.php +++ b/html/index.php @@ -13,7 +13,7 @@ @session_start(); require_once("../src/functions.php"); - +$lnMysql=conn_bdd(); $arenas=get_arenas_list(); $lang=get_language_array(); @@ -45,6 +45,8 @@ if (isset($_POST['xd_check'])){ //call the good act.php if(($currentArena <> "") && (file_exists("../src/arenas/".$currentArena."/act.php"))){ require_once("../src/arenas/".$currentArena."/act.php"); + }else{ + require_once("../src/act.php"); } } //title @@ -88,7 +90,7 @@ if($currentArena == ""){
-