gestione gare pubbliche
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

20 righe
596 B

<?
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once($configPath);
$error = true;
if (isset($_SESSION["utente"]) && $_SESSION["utente"]->gerarchia === 1) {
$error = false;
$pending = getPendingTranslations();
if (!empty($pending)) {
header("Content-type: text/json");
header("Content-Disposition: attachment; filename=pending.json");
header("Pragma: no-cache");
header("Expires: 0");
echo json_encode($pending,JSON_PRETTY_PRINT);
}
}
if ($error) {
header('HTTP/1.0 403 Forbidden');
die();
}
?>