diff --git a/WEB/Config/Config.php b/WEB/Config/Config.php index abebfce2..1bd68050 100644 --- a/WEB/Config/Config.php +++ b/WEB/Config/Config.php @@ -1,6 +1,6 @@ con=$con; session_start(); try{ + echo "controller"; global $rep, $vues, $error; $action=$_REQUEST['action']; switch($action) { diff --git a/WEB/index.php b/WEB/index.php index b9c89993..4101079d 100644 --- a/WEB/index.php +++ b/WEB/index.php @@ -2,9 +2,11 @@ require_once('./Config/Config.php'); require_once('./Config/Autoload.php'); Autoload::charger(); - +echo "post"; $con = new Connection($dsn, $user, $password); +echo "con"; $control = new Controller($con); +echo "after"; session_regenerate_id(true); // session_unset();