Changeset 222 for trunk/login.php


Ignore:
Timestamp:
03/18/08 08:51:13 (16 years ago)
Author:
niltonneto
Message:

Correção para forçar usuário "cair" na página inicial,
mesmo que ele tente acessar o /login.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/login.php

    r219 r222  
    2626                include('./header.inc.php'); 
    2727                // Force location to home, while logged in. 
    28                 if(@$_COOKIE['sessionid']) 
     28                $GLOBALS['sessionid'] = @$_GET['sessionid'] ? $_GET['sessionid'] : @$_COOKIE['sessionid']; 
     29                if(isset($GLOBALS['sessionid']) && $_GET['cd'] != 10) 
    2930                        $GLOBALS['phpgw']->redirect_link('/home.php'); 
    3031                if ($GLOBALS['phpgw_info']['server']['use_https'] > 0) 
Note: See TracChangeset for help on using the changeset viewer.