Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (16 sloc) 522 Bytes
<?php
header("Pragma: no-cache");
header("Expires: 0");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate");
include_once('ressources/class.templates.inc');
include_once('ressources/class.main_cf.inc');
if(count($_POST)==0){return null;}
$main=new main_cf();
while (list ($num, $val) = each ($_POST) ){
writelogs("receive from POST[$num]=$val",__FUNCTION__,__FILE__);
$main->main_array[$num]=$val;
}
$main->save_conf();
echo "Data saved"
?>
You can’t perform that action at this time.