source: branches/rsr.v5.1/web/backend.php @ 7

Last change on this file since 7 was 1, checked in by dj3c1t, 13 years ago

import initial

File size: 512 bytes
RevLine 
[1]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.