$configPath = substr(__DIR__, 0, strpos(__DIR__, "public_html")) . "/config.php"; include_once($configPath); $error = true; if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice) && !empty($_GET["codice"])) { $ente = Ente::getInfoFromID($_GET["codice"])[0] ?? null; if (!empty($ente)) { $error = false; ?>