commit initial de la branch template-meny

This commit is contained in:
Emmanuel ROY 2019-03-14 10:30:11 +01:00
commit 1cf79fa8aa
1632 changed files with 123442 additions and 1025 deletions

View file

@ -1,10 +1,12 @@
<?php
define( "CONTROLLERS_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "include" . DIRECTORY_SEPARATOR . "controlleurs");
define( "OBJETS_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "objets");
require CLASSES_PATH.DIRECTORY_SEPARATOR."url.class.php";
require CLASSES_PATH.DIRECTORY_SEPARATOR."controlleur.class.php";
require CLASSES_PATH.DIRECTORY_SEPARATOR."bdd.class.php";
require CLASSES_PATH.DIRECTORY_SEPARATOR."dumper.class.php";
require APPLICATION_PATH . DIRECTORY_SEPARATOR . "parameters.php";
@ -19,7 +21,9 @@ class Application
public function launch(){
$controlleur = new Controlleur($this);
print( $controlleur->vue->ecran );
if(!$this->url->page['control']) {
print($controlleur->vue->ecran);
}
}
}