Changes in branches [3435:3433]


Ignore:
Location:
branches/2.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/index.php

    r3435 r237  
    1010        \**************************************************************************/ 
    1111 
    12         $current_url = substr($_SERVER["SCRIPT_NAME"], 0, strpos($_SERVER["SCRIPT_NAME"],'index.php')); 
    1312 
    1413        $phpgw_info = array(); 
    1514        if(!file_exists('header.inc.php')) 
    1615        { 
    17                 Header('Location: '.$current_url.'setup/index.php'); 
     16                Header('Location: setup/index.php'); 
    1817                exit; 
    1918        } 
     
    2221        if(!$GLOBALS['sessionid']) 
    2322        { 
    24                 Header('Location: '.$current_url.'login.php'. 
     23                Header('Location: login.php'. 
    2524                (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING']) ? 
    2625                '?phpgw_forward='.urlencode('/index.php?'.$_SERVER['QUERY_STRING']):'')); 
  • branches/2.2/home.php

    r3435 r223  
    1212        \**************************************************************************/ 
    1313        $phpgw_info = array(); 
    14         $current_url = substr($_SERVER["SCRIPT_NAME"], 0, strpos($_SERVER["SCRIPT_NAME"],'home.php')); 
    15  
    1614        if (!is_file('header.inc.php')) 
    1715        { 
    18                 Header('Location: '.$current_url.'setup/index.php'); 
     16                Header('Location: setup/index.php'); 
    1917                exit; 
    2018        } 
     
    2321        if (!isset($GLOBALS['sessionid']) || !$GLOBALS['sessionid']) 
    2422        { 
    25                 Header('Location: '.$current_url.'login.php?cd=10'); 
     23                Header('Location: login.php?cd=10'); 
    2624                exit; 
    2725        } 
Note: See TracChangeset for help on using the changeset viewer.