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.
26 righe
729 B
26 righe
729 B
<? |
|
$error = true; |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"public_html/"))."config.php"; |
|
include_once($configPath); |
|
if (isset($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice)) { |
|
$aggiornamenti = anac::getProcedureMancanti(true); |
|
$error = false; |
|
if (!empty($aggiornamenti)) { |
|
?> |
|
swal({title:js_dict["success-msg"],text:'<?= __("Importazione eseguita") ?>',type:"success"}).then(function(){ |
|
window.location.reload(); |
|
}); |
|
<? |
|
} else { |
|
?> |
|
swal({title:js_dict["success-msg"],type:"warning"}).then(function(){ |
|
window.location.reload(); |
|
}); |
|
<? |
|
} |
|
} |
|
if ($error) { |
|
header('HTTP/1.0 403 Forbidden'); |
|
die(); |
|
} |
|
?>
|
|
|