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.
27 righe
796 B
27 righe
796 B
<? |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"public_html/"))."config.php"; |
|
include_once($configPath); |
|
$error = true; |
|
if (isset($_SESSION["utente"]) && $_SESSION["utente"]->permission("simog") && !empty($_SESSION["simog"]["ticket"])) { |
|
include($beRoot."/anac/ws/simog.class.php"); |
|
$simog = new simog; |
|
$result = $simog->logout($_SESSION["simog"]["ticket"]); |
|
$error = false; |
|
if ($result === true || strpos($result,"SIMOGWS_WSSMANAGER_NULL_15") !== false) { |
|
unset($_SESSION["simog"]); |
|
?> |
|
<script> |
|
window.location.reload(); |
|
</script> |
|
<? |
|
} else if (!empty($result)) { |
|
alertManager::printAlertBox($result); |
|
} else { |
|
$error = true; |
|
} |
|
} |
|
if ($error) { |
|
header('HTTP/1.0 403 Forbidden'); |
|
die(); |
|
} |
|
?>
|