$error = true; $configPath = substr(__DIR__,0,strpos(__DIR__,"public_html/"))."config.php"; include_once($configPath); if (isset($_SESSION["utente"]) && $_SESSION["utente"]->gerarchia === 1) { $error = false; $tokenUpload = base64_encode(time().rand(10000,20000)); ?>
} if ($error) { header('HTTP/1.0 403 Forbidden'); die(); } ?>