Vous êtes connecté en tant que anonymous Se Deconnecter
application/class/application.class.php
137b5e76
 <?php
 
aed8ee26
 define( "CONTROLLERS_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "include" . DIRECTORY_SEPARATOR . "controlleurs");
137b5e76
 
 require CLASSES_PATH.DIRECTORY_SEPARATOR."url.class.php";
aed8ee26
 require CLASSES_PATH.DIRECTORY_SEPARATOR."controlleur.class.php";
137b5e76
 class Application
 {
 	public $url;
 	
 	public function __construct(){
aed8ee26
 		$this->url = new Url();
137b5e76
 	}
 	
 	public function launch(){
 		$controlleur = new Controlleur($this);
aed8ee26
 		print( $controlleur->vue->ecran );
137b5e76
 	}
 	
 }