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