Changeset 5042 for trunk/index.php


Ignore:
Timestamp:
09/05/11 18:52:58 (13 years ago)
Author:
alexandrecorreia
Message:

Ticket #2260 - Sincronismo do branch2.2(versão 2.2.8) para 2.4 ajustes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r3435 r5042  
    6969        if($app == 'home' && !$api_requested) 
    7070        { 
    71                 Header('Location: ' . $GLOBALS['phpgw']->link('/home.php')); 
     71                if( $_GET['dont_redirect_if_moble'] == 1 ) 
     72                        Header('Location: ' . $GLOBALS['phpgw']->link('/home.php?dont_redirect_if_moble=1')); 
     73                else 
     74                        Header('Location: ' . $GLOBALS['phpgw']->link('/home.php')); 
    7275        } 
    7376 
     
    125128                } 
    126129 
    127                 $GLOBALS['phpgw']->redirect_link('/home.php'); 
     130                if( $_GET['dont_redirect_if_moble'] == 1 ) 
     131                        Header('Location: ' . $GLOBALS['phpgw']->link('/home.php?dont_redirect_if_moble=1')); 
     132                else 
     133                        Header('Location: ' . $GLOBALS['phpgw']->link('/home.php')); 
     134                                 
     135                //$GLOBALS['phpgw']->redirect_link('/home.php'); 
    128136        } 
    129137 
Note: See TracChangeset for help on using the changeset viewer.