gestione gare pubbliche
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

32 righe
986 B

<?
$_POST_DATA_PRESERVATION = $_POST;
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once($configPath);
$_POST["json"] = $_POST_DATA_PRESERVATION["json"];
if (! empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice) && tokenVerify()) {
$ente = Ente::getInfoFromID($_POST["codice_ente"])[0] ?? null;
if(! empty($ente["codice"])) {
try {
if (Ente::saveAdvancedConfigForTenant($_POST["json"],$_POST["codice_ente"])) {
?>
swal({title:js_dict["success-msg"],type:"success"}).then(function() { backModalHelper(); });
<?
die();
}
} catch (\Throwable $th) {
?>
swal({title:"<?= $th->getMessage() ?>",type:"error"});
<?
die();
}
}
}
HTTPStatus(403);
?>