$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $error = true; if (isset($_SESSION["utente"]) && !empty($_SESSION["ente"])) { if ($_SESSION["utente"]->isSupporto() || $_SESSION["utente"]->gerarchia === 1) { $settings = settingsManager::getSettings($_GET["gruppo"]??""); if (!empty($settings)) { $error = false; ?>
} } } if ($error) { header('HTTP/1.0 403 Forbidden'); die(); } ?>