918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Rev | Line | |
---|
[3ec149c] | 1 | <? |
---|
| 2 | // ******************************************************************************************************** |
---|
| 3 | // Aplicación WEB: ogAdmWebCon |
---|
| 4 | // Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla |
---|
| 5 | // Fecha Creación: Agosto-2010 |
---|
| 6 | // Fecha Última modificación: Agosto-2010 |
---|
| 7 | // Nombre del fichero: barramenu.php |
---|
| 8 | // Descripción :Este fichero implementa el menu general de la Aplicación |
---|
| 9 | // ******************************************************************************************************** |
---|
| 10 | if(isset($_SESSION)){ // Si existe algua sesión ... |
---|
| 11 | session_unset(); // Elimina variables |
---|
| 12 | session_destroy(); // Destruye sesión |
---|
| 13 | } |
---|
[3e24aa5] | 14 | # Cambiar a HTTPS |
---|
| 15 | if (empty ($_SERVER["HTTPS"])) { |
---|
| 16 | header ("Location: https://".$_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"]); |
---|
| 17 | exit (0); |
---|
| 18 | } |
---|
[3ec149c] | 19 | |
---|
| 20 | include_once("controlacceso.php"); |
---|
| 21 | |
---|
| 22 | $herror=0; |
---|
| 23 | if (isset($_GET["herror"])) $herror=$_GET["herror"]; |
---|
| 24 | if (isset($_POST["herror"])) $herror=$_POST["herror"]; |
---|
| 25 | Header("Location: acceso_".$idi.".php?herror=".$herror); // Redireccionamiento a la página de inicio en el idioma por defecto |
---|
| 26 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.