assign("smty_path",$login.(strpos($login,'?')===false?'?':'&').'logout=1'); ; } else { if(file_exists ('login.php')) $s->assign("smty_path",'login.php?logout=1'); else $s->assign("smty_path",'index.php?view=igep/views/aplicacion.php'); } session_write_close(); $s->display('igep_noSession.tpl'); ?>