17 lines
330 B
PHP
17 lines
330 B
PHP
|
<?
|
||
|
|
||
|
// Error reporting
|
||
|
error_reporting(E_ALL^E_NOTICE);
|
||
|
|
||
|
// Escaping:
|
||
|
$options = array();
|
||
|
$module ='';
|
||
|
foreach($_GET as $indice=>$valeur){
|
||
|
if($indice == 'id')
|
||
|
$module .= $valeur;
|
||
|
else
|
||
|
$options[$indice] = $valeur;
|
||
|
}
|
||
|
include '../class/AccueilModules.php';
|
||
|
echo AccueilModules::updateModule($module, $options);
|