$error =true; $configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice) && !empty($_GET["codice"])) { $goToMtg = new goToMtg; $result = $goToMtg->updateEmailAndSend($_GET["codice"]); if ($result === true) { $codice = $_GET["codice"]; $error = false; $link = "https://api.getgo.com/oauth/v2/authorize?client_id={$config["gotomeeting-CONSUMER"]}&response_type=code"; ?>