source: trunk/web/backend.php @ 8

Last change on this file since 8 was 6, checked in by dj3c1t, 13 years ago

mise a jour du trunk

File size: 512 bytes
Line 
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  $_GET[$env->param("action")] = $_GET[$env->param("e")];
11  $_GET[$env->param("e")] = "backend";
12  require $env->path("app")."main.php";
13
14  # affichage
15  if
16  ( $_GET[$env->param("format")] &&
17    $env->out_file_exists("backend/".$_GET[$env->param("format")].".php")
18  ) require $env->out_file("backend/".$_GET[$env->param("format")].".php");
19
20?>
Note: See TracBrowser for help on using the repository browser.