Changes from branches/2.2/index.php at r3435 to trunk/index.php at r237
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/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']):''));
Note: See TracChangeset
for help on using the changeset viewer.