commit initial de la branch template-meny
This commit is contained in:
parent
f57c40ec92
commit
1cf79fa8aa
1632 changed files with 123442 additions and 1025 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue