$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $error = true; if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice,$_GET["codice"])) { if (empty($_GET["codice"])) { $record = get_campi("b_alert_anac"); } else { $record = AlertAnac::get($_GET["codice"]); } if (!empty($record)) { $error = false; ?>
} } if ($error) { header('HTTP/1.0 403 Forbidden'); die(); } ?>