Changeset 3435


Ignore:
Timestamp:
10/28/10 18:33:31 (9 years ago)
Author:
eduardoalex
Message:

Ticket #1244 - Corrigindo [3434] que teve codigo comitado errado.

Location:
branches/2.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/home.php

    r3434 r3435  
    1616        if (!is_file('header.inc.php')) 
    1717        { 
    18                 Header('Location: '.$current_url.'/setup/index.php'); 
     18                Header('Location: '.$current_url.'setup/index.php'); 
    1919                exit; 
    2020        } 
     
    2323        if (!isset($GLOBALS['sessionid']) || !$GLOBALS['sessionid']) 
    2424        { 
    25                 Header('Location: '.$current_url.'/login.php?cd=10'); 
     25                Header('Location: '.$current_url.'login.php?cd=10'); 
    2626                exit; 
    2727        } 
  • branches/2.2/index.php

    r3434 r3435  
    1010        \**************************************************************************/ 
    1111 
    12         $current_url = substr($_SERVER["SCRIPT_NAME"], 0, strpos($_SERVER["SCRIPT_NAME"],'home.php')); 
     12        $current_url = substr($_SERVER["SCRIPT_NAME"], 0, strpos($_SERVER["SCRIPT_NAME"],'index.php')); 
     13 
    1314        $phpgw_info = array(); 
    1415        if(!file_exists('header.inc.php')) 
    1516        { 
    16                 Header('Location: '.$current_url.'/setup/index.php'); 
     17                Header('Location: '.$current_url.'setup/index.php'); 
    1718                exit; 
    1819        } 
     
    2122        if(!$GLOBALS['sessionid']) 
    2223        { 
    23                 Header('Location: '.$current_url.'/login.php'. 
     24                Header('Location: '.$current_url.'login.php'. 
    2425                (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING']) ? 
    2526                '?phpgw_forward='.urlencode('/index.php?'.$_SERVER['QUERY_STRING']):'')); 
Note: See TracChangeset for help on using the changeset viewer.