1,21 → 1,21 |
<? |
require_once '..\\eflore_config.php'; |
header('Content-type: text/xml'); |
if(!empty($_REQUEST['listemacroelements'])) { |
$nom='..\\'.$appConfig['def_macro'].$_REQUEST['listemacroelements']; |
$file = fopen($nom,'r'); |
$taille =fileSize($nom); |
$lecture = fread($file,$taille); |
fclose($file); |
echo $lecture; |
} |
|
if(!empty($_REQUEST['groupesmacroelements'])) { |
$nom='..\\'.$appConfig['def_groupes'].$_REQUEST['groupesmacroelements']; |
$file = fopen($nom,'r'); |
$taille =fileSize($nom); |
$lecture = fread($file,$taille); |
fclose($file); |
echo $lecture; |
} |
<?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; |
} |
?> |