aed8ee26 | <?php define( "MODELS_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "include" . DIRECTORY_SEPARATOR . "modeles"); define( "VIEW_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "include" . DIRECTORY_SEPARATOR . "vues"); |
8d6a2feb | define( "CONTROLLER_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "include" . DIRECTORY_SEPARATOR . "controlleurs"); |
aed8ee26 | require CLASSES_PATH.DIRECTORY_SEPARATOR."modele.class.php"; require CLASSES_PATH.DIRECTORY_SEPARATOR."vue.class.php"; class Controlleur{ public $modele; public $vue; public function __construct($application){ |
ff461209 | |
8d6a2feb | $this->modele = new Modele( $application->url->page ); |
aed8ee26 | $this->vue = new Vue( $this ); } } |