Changes in branches [3435:3433]
- Location:
- branches/2.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/index.php
r3435 r237 10 10 \**************************************************************************/ 11 11 12 $current_url = substr($_SERVER["SCRIPT_NAME"], 0, strpos($_SERVER["SCRIPT_NAME"],'index.php'));13 12 14 13 $phpgw_info = array(); 15 14 if(!file_exists('header.inc.php')) 16 15 { 17 Header('Location: '.$current_url.'setup/index.php');16 Header('Location: setup/index.php'); 18 17 exit; 19 18 } … … 22 21 if(!$GLOBALS['sessionid']) 23 22 { 24 Header('Location: '.$current_url.'login.php'.23 Header('Location: login.php'. 25 24 (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING']) ? 26 25 '?phpgw_forward='.urlencode('/index.php?'.$_SERVER['QUERY_STRING']):'')); -
branches/2.2/home.php
r3435 r223 12 12 \**************************************************************************/ 13 13 $phpgw_info = array(); 14 $current_url = substr($_SERVER["SCRIPT_NAME"], 0, strpos($_SERVER["SCRIPT_NAME"],'home.php'));15 16 14 if (!is_file('header.inc.php')) 17 15 { 18 Header('Location: '.$current_url.'setup/index.php');16 Header('Location: setup/index.php'); 19 17 exit; 20 18 } … … 23 21 if (!isset($GLOBALS['sessionid']) || !$GLOBALS['sessionid']) 24 22 { 25 Header('Location: '.$current_url.'login.php?cd=10');23 Header('Location: login.php?cd=10'); 26 24 exit; 27 25 }
Note: See TracChangeset
for help on using the changeset viewer.