Changeset 3434 for branches/2.2/home.php
- Timestamp:
- 10/28/10 17:25:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/home.php
r223 r3434 12 12 \**************************************************************************/ 13 13 $phpgw_info = array(); 14 $current_url = substr($_SERVER["SCRIPT_NAME"], 0, strpos($_SERVER["SCRIPT_NAME"],'home.php')); 15 14 16 if (!is_file('header.inc.php')) 15 17 { 16 Header('Location: setup/index.php');18 Header('Location: '.$current_url.'/setup/index.php'); 17 19 exit; 18 20 } … … 21 23 if (!isset($GLOBALS['sessionid']) || !$GLOBALS['sessionid']) 22 24 { 23 Header('Location: login.php?cd=10');25 Header('Location: '.$current_url.'/login.php?cd=10'); 24 26 exit; 25 27 }
Note: See TracChangeset
for help on using the changeset viewer.