Vous êtes connecté en tant que anonymous Se Deconnecter
application/class/controlleur.class.php
aed8ee26
 <?php
 
 define( "MODELS_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "include" . DIRECTORY_SEPARATOR . "modeles");
 define( "VIEW_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "include" . DIRECTORY_SEPARATOR . "vues");
 
 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){
 		
 		$this->modele = new Modele( $application->url->page );
 		$this->vue = new Vue( $this );
 		
 		
 	}
 	
 }