You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
367 B
19 lines
367 B
<?php
|
|
|
|
require_once('controleur/gest.php');
|
|
|
|
class FrontControler {
|
|
private $actions = array(
|
|
"Gest" => ["wantToConnect", 'connecting', 'wantToSignIn', 'signIn'],
|
|
);
|
|
|
|
function start() {
|
|
$action = $_REQUEST['action'];
|
|
if(in_array($actions, $this->action['Gest'])){
|
|
$controleur = new GestControler();
|
|
}else{
|
|
$controleur = new GestControler();
|
|
}
|
|
}
|
|
}
|