$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); if (! empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice)) { $ente = Ente::getInfoFromID($_GET["codice_ente"])[0] ?? null; $settings = json_decode($ente["conservazione"], true); if(! empty($settings["credenziali"]["password"])) { $settings["credenziali"]["password"] = simple_decrypt($settings["credenziali"]["password"], $config["simple_encrypt"]["conservazione"]); } ?>
die(); } HTTPStatus(401); ?>