Rev | Line | |
---|
[6] | 1 | <?php |
---|
| 2 | |
---|
| 3 | require "pathes.php"; |
---|
| 4 | |
---|
| 5 | # chargement de l'environnement |
---|
| 6 | require RSR_APP_PATH."env.php"; |
---|
| 7 | $env = new env(RSR_CONFIG_FILE); |
---|
| 8 | |
---|
| 9 | # traitement de la requÚte |
---|
| 10 | require $env->path("app")."main.php"; |
---|
| 11 | |
---|
| 12 | # affichage |
---|
| 13 | |
---|
| 14 | if($env->message) echo $env->message; |
---|
| 15 | elseif($env->erreur) echo $env->erreur; |
---|
| 16 | elseif($env->out_file_exists("content/".$env->prefix.$env->e.".php")) |
---|
| 17 | { require $env->out_file("content/".$env->prefix.$env->e.".php"); |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.