} } else { $lLogger->log("Demande d'accés à GestionCaracteristique sans identifiant par : " . $_SESSION[ID_CONNEXION], PEAR_LOG_INFO); // Maj des logs header('location:./index.php'); } } else { if (isset($_POST['fonction'])) { include_once CHEMIN_CLASSES_CONTROLEURS . MOD_GESTION_PRODUIT . "/GestionCaracteristiqueControleur.php"; $lControleur = new GestionCaracteristiqueControleur(); $lTraitement = false; switch ($_POST['fonction']) { case "exportProduitCaracteristique": if (isset($_POST['id'])) { $lParam = array("id" => $_POST['id']); $lControleur->exportProduitCaracteristique($lParam); $lLogger->log("Export de la liste des produits liés à une Caracteristique par l'Adhérent : " . $_SESSION[ID_CONNEXION], PEAR_LOG_INFO); // Maj des logs $lTraitement = true; } break; default: $lLogger->log("Demande d'accés à GestionCaracteristique sans identifiant par : " . $_SESSION[ID_CONNEXION], PEAR_LOG_INFO); // Maj des logs header('location:./index.php'); break; } if (!$lTraitement) { $lLogger->log("Demande d'accés à GestionCaracteristique sans identifiant par : " . $_SESSION[ID_CONNEXION], PEAR_LOG_INFO); // Maj des logs header('location:./index.php');