$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once($configPath);
if (!function_exists("fatal_handler")) {
function fatal_handler() {
$error = error_get_last();
if( $error !== NULL && ($error['type'] === E_ERROR || $error['type'] === E_USER_ERROR))
{
global $record;
?>
= __("errore") . " " . __("upload") ?>
if (!empty($record["codice"])) { ?>
">= __('Indietro') ?>
}
}
}
}
register_shutdown_function('fatal_handler');
if (!empty($_SESSION["utente"])) {
$elenco = publicAlboFornitori::init($_POST["codice_elenco"]);
if (!empty($elenco)) {
$record = $elenco->info;
$breadcrumb = array();
$breadcrumb["/".$radice."/"] = Modulo::getInfo($radice)["titolo"];
$breadcrumb["/".$radice."/dettaglio.php?codice={$record["codice"]}"] = __("Dettaglio");
$breadcrumb["partecipa.php?codice={$record["codice"]}"] = __("Pannello");
$breadcrumb[] = __("Carica documento");
include_once ($root."/layout/top.php");
?>
$esito = $elenco->uploadBusta($_POST);
if ($esito["esito"] === true) {
alertManager::printSuccessBox(__("Operazione effettuata con successo"),"Hash SHA 256:" . $esito["feedback"]);
} else {
alertManager::printAlertBox(__($esito["feedback"]));
}
?>
">
= __("Torna al pannello per continuare le operazioni") ?>
include_once ($root."/layout/bottom.php");
} else {
echo '';
die();
}
} else {
echo '';
die();
}
?>