$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); if (!empty($_SESSION["utente"]) && !empty($_SESSION["utente"]->oe)) { if (!empty($_POST["modulo"]) && !empty($_POST["codice_elemento"])) { $dgue = new DGUE($_POST["modulo"],$_POST["codice_elemento"]); if (!empty($dgue)) { $dgue->checkAdminPermission(); $breadcrumb["/{$dgue->modulo}/"] = Modulo::getInfo($dgue->modulo)["titolo"]; $breadcrumb = $dgue->getBreadcrumb($breadcrumb,!empty($_POST["pannello"])); $breadcrumb["/dgue/edit.php?modulo={$dgue->modulo}&codice_elemento={$dgue->elemento}"] = __("Modifica"); $breadcrumb[""] = __("Salva"); include_once ($root."/layout/top.php"); ?>