'abrirAplicacion') { include_once('igep/include_class.php'); IgepSession::session_start(); } include_once('igep/include_all.php'); //error global global $g_error; $g_error = new IgepError(); assert( is_object($g_error) ); // sigue activa la sesion? php puede limpiarlas a partir de 24 minutos de inactividad (por defecto) if (!IgepSession::isValid()) { //Si no es un enlace, tenemos que hacer la salida de otra forma. if(!isset($_REQUEST['modActv'])) { IgepSession::borraAplicacion( ConfigFramework::getApplicationName() ); @session_destroy(); $path = 'index.php?view=igep/views/gvHidraCloseApp.php'; $params = array ( 'path'=>rawUrlEncode($path), 'context' => array( 'targetType'=>'self' ) ); $response = json_encode($params, JSON_FORCE_OBJECT); print($response);die; } //Es un enlace. else { $salto ="Location: index.php?view=igep/views/igep_noSession.php"; header ($salto); } exit; } /*recargamos los mappings?*/ if(ConfigFramework::getConfig()->getReloadMappings()) IgepSession::borraPanel(_MAPPING); if(!IgepSession::existePanel(_MAPPING)){ $go_map = new ComponentesMap(); IgepSession::_guardaPanelIgep(_MAPPING,$go_map); } else $go_map = IgepSession::damePanel(_MAPPING); //release control to controller for further processing if(!IgepSession::existePanel(_CONTROLLER)){ $controller = new ActionController($go_map->getOptions()); IgepSession::_guardaPanelIgep(_CONTROLLER,$controller); } else{ $controller = IgepSession::damePanel(_CONTROLLER); } $controller->process($go_map->getMappings(), $_REQUEST); } catch (Exception $e) { IgepDebug::setDebug(PANIC,'Ha ocurrido una excepción no capturada (phrame):
'.$e->getMessage().'
'); // re-throw the exception throw $e; } ?>