permission($radice) && tokenVerify()) { ini_set('memory_limit', "512M"); ini_set("max_execution_time",600); $enti = $_SESSION["utente"]->getEntiBeneficiari(false); if (!empty($enti[$_POST["ente"]])) { $ente = $enti[$_POST["ente"]]; if (is_numeric($_POST["anno"])) { anac::importazioneMassivaSuggerimenti190($_POST["anno"],(!empty($_POST["gestore"])) ? $ente["codice"] : null); $xml = anac::generaXML($ente["codice"],$_POST["anno"],(empty($_POST["gestore"])) ? false : true); if (!empty($xml)) { $path = anac::getXMLPath($ente["codice"],$_POST["anno"],(empty($_POST["gestore"])) ? false : true); $dir = dirname($path); if (!is_dir($dir)) { mkdir($dir,750,true); } if (file_put_contents($path,$xml)) { $error = false; ?> swal({title:js_dict["success-msg"],type:"success"}).then(function(){ refreshModalHelper(); });