Ignore:
Timestamp:
04/30/10 12:21:35 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Criando persistência da última requisicao a ser recuperada no reload.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/templates/default/login_default.php

    r2613 r2674  
    184184                                list($forward,$extra_vars) = explode('?',$forward,2); 
    185185                        } 
     186 
    186187                        if ($GLOBALS['phpgw_info']['server']['use_https'] != 2) 
    187                         { 
    188                                 $forward = 'http://'.$_SERVER['HTTP_HOST'].($GLOBALS['phpgw']->link($forward.'?cd=yes')); 
    189                                 echo "<script language='Javascript1.3'>location.href='".$forward."'</script>"; 
    190                         } 
     188                                $GLOBALS['phpgw']->redirect_link( $forward ); 
    191189                        else 
    192                         { 
    193190                                $GLOBALS['phpgw']->redirect_link($forward,$extra_vars); 
    194                         } 
    195191                } 
    196192        } 
Note: See TracChangeset for help on using the changeset viewer.