Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/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']):'')); 
Note: See TracChangeset for help on using the changeset viewer.