require_once $_SERVER['DOCUMENT_ROOT'] . 'boutique/controllers/article.php';
    $controller_article = new Controller_Article();
    $controller_article->listArticleHome();
} elseif ($controller == 'articles' && $action == 'list' && $type == '') {
    require_once $_SERVER['DOCUMENT_ROOT'] . 'boutique/controllers/article.php';
    $controller_article = new Controller_Article();
    $controller_article->listArticle();
    require_once $_SERVER['DOCUMENT_ROOT'] . 'boutique/views/articles/list.php';
} elseif ($controller == 'articles' && $action == 'list' && $type == 'categorie') {
    require_once $_SERVER['DOCUMENT_ROOT'] . 'boutique/controllers/article.php';
    $controller_articleCat = new Controller_Article();
    $controller_articleCat->listArticleByCategorie();
} elseif ($controller == 'articles' && $action == 'list' && $type == 'licence') {
    require_once $_SERVER['DOCUMENT_ROOT'] . 'boutique/controllers/article.php';
    $controller_articleLi = new Controller_Article();
    $controller_articleLi->listArticleByLicence();
} elseif ($controller == 'articles' && $action == 'recherche') {
    require_once $_SERVER['DOCUMENT_ROOT'] . 'boutique/controllers/recherche.php';
    $controller_recherche_precise = new Controller_Recherche();
    $controller_recherche_precise->recherchePrecise();
} elseif ($controller == "articles" && $action == "view") {
    if (empty($_GET['id'])) {
        echo "<p>il manque l'id du produit</p>";
    } else {
        require_once $_SERVER['DOCUMENT_ROOT'] . "boutique/controllers/article.php";
        require_once $_SERVER['DOCUMENT_ROOT'] . 'boutique/controllers/commentaire.php';
        require_once $_SERVER['DOCUMENT_ROOT'] . 'boutique/controllers/panier.php';
        $controller_article = new Controller_Article();
        $id = intval($_GET['id']);
        $controller_article->viewArticle($id);
        $controller_commentaire = new Controller_Commentaire();