Rev 27 | Go to most recent revision | Blame | Last modification | View Log | RSS feed
<?php
require_once '../configuration/eflore_config.php';
header('Content-type: text/xml');
if(!empty($_REQUEST['listemacroelements'])) {
$nom = EFSE_CHEMIN_GENERATEUR_RACINE.EFSE_CHEMIN_DEF_MACRO.$_REQUEST['listemacroelements'];
$file = fopen($nom, 'r');
$taille = fileSize($nom);
$lecture = fread($file,$taille);
fclose($file);
echo $lecture;
}
if(!empty($_REQUEST['groupesmacroelements'])) {
$nom = EFSE_CHEMIN_GENERATEUR_RACINE.EFSE_CHEMIN_DEF_MACRO_GROUPE.$_REQUEST['groupesmacroelements'];
$file = fopen($nom, 'r');
$taille = fileSize($nom);
$lecture = fread($file,$taille);
fclose($file);
echo $lecture;
}
?>