$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $error = true; if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->isSupportoOrRoot() && !empty($_GET["codice"])) { $gara = gara::init($_GET["codice"]); if (!empty($gara) && !$gara->checkPartecipantiPresenti()) { $record = $gara->info; $salva = new salva(); $salva->debug = false; $salva->nome_tabella = "b_gare"; $salva->operazione = "UPDATE"; $salva->oggetto = ["codice"=>$record["codice"],"public_key"=>""]; $codice = $salva->save(); if ($codice !== false) { $error = false; ?>