Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 27 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
30 jpm 1
<?php
2
require_once '../configuration/eflore_config.php';
3
header('Content-type: text/xml');
4
if(!empty($_REQUEST['listemacroelements'])) {
5
    $nom = EFSE_CHEMIN_GENERATEUR_RACINE.EFSE_CHEMIN_DEF_MACRO.$_REQUEST['listemacroelements'];
6
    $file = fopen($nom, 'r');
7
    $taille = fileSize($nom);
8
    $lecture = fread($file,$taille);
9
    fclose($file);
10
    echo $lecture;
11
}
12
 
13
if(!empty($_REQUEST['groupesmacroelements'])) {
14
    $nom = EFSE_CHEMIN_GENERATEUR_RACINE.EFSE_CHEMIN_DEF_MACRO_GROUPE.$_REQUEST['groupesmacroelements'];
15
    $file = fopen($nom, 'r');
16
    $taille = fileSize($nom);
17
    $lecture = fread($file,$taille);
18
    fclose($file);
19
    echo $lecture;
20
}
27 jpm 21
?>