2011-02-21 17:09:22 +00:00

26 lines
501 B
PHP

<?php
isset($_REQUEST['q']) ? $q = $_REQUEST['q'] : $q = '';
$params = explode('/', $q);
$action = $params[0];
$elementFichier = $params[1];
function htmldecode($value){
$value = is_array($value) ?
array_map('htmldecode', $value) :
html_entity_decode($value, ENT_QUOTES, 'UTF-8');
return $value;
}
require_once realpath(dirname(__FILE__)).'/export.php';
$path = realpath(dirname(__FILE__).'/../cache/pages/');
//Traitement
switch ( $action ) {
case 'csv':
break;
case 'xml':
break;
}