develop
Érina POINT 3 years ago
parent 92e6b09aa4
commit 8c0a702a49

@ -4,13 +4,15 @@ require_once('controleur/gest.php');
class FrontControler {
private $actions = array(
"Gest" => ["wantToConnect"];
"Gest" => ["wantToConnect"],
);
function start() {
session_start();
$action = $_REQUEST['action'];
if(in_array($action, $this->action['Gest']){
if(in_array($action, $this->action['Gest'])){
$controleur = new GestControler();
}else{
$controleur = new GestControler();
}
}

@ -12,7 +12,7 @@ class GestControler {
}
}catch(Exception $e){
echo $e->message;
}
}
}

@ -1,4 +1,7 @@
<?php
<head>
<title>newDrive</title>
<meta charset="utf-8"/>
</head>
<body>
<form>

Loading…
Cancel
Save