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.
 
 
 
 
 

35 righe
741 B

<?php
$_cdir = __DIR__;
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once($configPath);
include_once __DIR__ . "/class/TedEsender.class.php";
$settings = file_get_contents("{$_cdir}/config/settings.json");
$settings = json_decode($settings, TRUE);
$error = true;
if (! empty($_GET) && ! empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice, $_GET["codice"])) {
$ted = new TedEsender($_GET["form"], $_GET["codice"], $settings, "{$_cdir}/config/xml");
if(! empty($ted->info["xml"])) {
header("Content-type: text/xml");
die($ted->info["xml"]);
}
}
if($error) {
header('Location: /backend/guue');
die();
}
?>