SAND-framework/application/classes/application.class.php
Emmanuel ROY 795b1b53a5 Nouvelle version faite en une matinée
Dommage de ne pas retrouver l'ancienne

Dear IP-formation.
2015-04-15 14:45:54 +02:00

20 lines
368 B
PHP

<?php
define( "CONTROLLERS_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "controlleurs");
require CLASSES_PATH.DIRECTORY_SEPARATOR."url.class.php";
class Application
{
public $url;
public function __construct(){
$this->$url = new Url();
}
public function launch(){
$controlleur = new Controlleur($this);
print( $controlleur->$vue->$ecran );
}
}