$error = true; $configPath = substr(__DIR__,0,strpos(__DIR__,"public_html/"))."config.php"; include_once($configPath); if (isset($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice)) { $enti = $_SESSION["utente"]->getEntiBeneficiari(false); if ($enti !== false) { if (count($enti) > 1 && !isset($_GET["ente"])) { $error = false; ?>
| = __("Anno") ?> | = __("Lotti") ?> | URL | |||
|---|---|---|---|---|---|
| = $anno ?> | = $lotti->fetch(PDO::FETCH_ASSOC)["tot"] ?> |
$generato = false;
$update = false;
if (is_file($path)) {
adaptMemoryLimitToFile($path);
$generato = true;
echo anac::getURL190($ente,$anno,$gestore);
$md5 = md5(file_get_contents($path));
$md5U = md5(anac::generaXML($ente,$anno,$gestore,true));
if ($md5 != $md5U) { $update = true; }
} else {
?>
= __("File non generato") ?>
}
?>
|
if ($generato) { $errors = anac::validateXML190($path); if (!empty($errors)) { ?> } else { ?> } } ?> |