Changeset 141 for trunk/index.php
- Timestamp:
- 01/03/08 14:10:56 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r15 r141 21 21 if(!$GLOBALS['sessionid']) 22 22 { 23 /*if (($GLOBALS['phpgw_info']['server']['use_https'] == 2) && ($_SERVER['HTTPS'] != 'on')) 24 { 25 26 Header('Location: https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); 27 exit; 28 } 29 else 30 {*/ 31 Header('Location: login.php'. 32 (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING']) ? 33 '?phpgw_forward='.urlencode('/index.php?'.$_SERVER['QUERY_STRING']):'')); 34 exit; 35 //} 23 Header('Location: login.php'. 24 (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING']) ? 25 '?phpgw_forward='.urlencode('/index.php?'.$_SERVER['QUERY_STRING']):'')); 26 exit; 36 27 } 37 28 … … 68 59 ); 69 60 include('./header.inc.php'); 61 62 if (($GLOBALS['phpgw_info']['server']['use_https'] == 2) && ($_SERVER['HTTPS'] != 'on')) 63 { 64 Header('Location: https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); 65 exit; 66 } 70 67 71 68 if($app == 'home' && !$api_requested)
Note: See TracChangeset
for help on using the changeset viewer.