$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $error = true; if (!empty($_GET['codici_carrello']) && !empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice) && $_SESSION["utente"]->permission("mercato")) { $error = false; $codici_carello = arrayIsNumeric(json_decode($_GET['codici_carrello'])); $ordine = Market::ordine($codici_carello); if(!empty($ordine)){ $codice_beneficiario = $_GET["codice_beneficiario"]; $codice_oe = $_GET["codice_oe"]; ?>