Changeset 3435
- Timestamp:
- 10/28/10 17:33:31 (13 years ago)
- Location:
- branches/2.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/home.php
r3434 r3435 16 16 if (!is_file('header.inc.php')) 17 17 { 18 Header('Location: '.$current_url.' /setup/index.php');18 Header('Location: '.$current_url.'setup/index.php'); 19 19 exit; 20 20 } … … 23 23 if (!isset($GLOBALS['sessionid']) || !$GLOBALS['sessionid']) 24 24 { 25 Header('Location: '.$current_url.' /login.php?cd=10');25 Header('Location: '.$current_url.'login.php?cd=10'); 26 26 exit; 27 27 } -
branches/2.2/index.php
r3434 r3435 10 10 \**************************************************************************/ 11 11 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 13 14 $phpgw_info = array(); 14 15 if(!file_exists('header.inc.php')) 15 16 { 16 Header('Location: '.$current_url.' /setup/index.php');17 Header('Location: '.$current_url.'setup/index.php'); 17 18 exit; 18 19 } … … 21 22 if(!$GLOBALS['sessionid']) 22 23 { 23 Header('Location: '.$current_url.' /login.php'.24 Header('Location: '.$current_url.'login.php'. 24 25 (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING']) ? 25 26 '?phpgw_forward='.urlencode('/index.php?'.$_SERVER['QUERY_STRING']):''));
Note: See TracChangeset
for help on using the changeset viewer.