diff --git a/header.inc.php.template b/header.inc.php.template index 430758cb76..37a8f79613 100644 --- a/header.inc.php.template +++ b/header.inc.php.template @@ -83,8 +83,11 @@ /* If you want phpGroupWare to be cached by proxy servers, uncomment the following */ /* This is NOT recommended, but phpGroupWare should still work fine. */ - header('Cache-Control: no-cache, must-revalidate'); // HTTP/1.1 - header('Pragma: no-cache'); // HTTP/1.0 + if (!isset($phpgw_info['flags']['nocachecontrol']) || !$phpgw_info['flags']['nocachecontrol'] == True) + { + header('Cache-Control: no-cache, must-revalidate'); // HTTP/1.1 + header('Pragma: no-cache'); // HTTP/1.0 + } /**************************************************************************\ * Do not edit these lines * diff --git a/setup/manageheader.php b/setup/manageheader.php index 1372a3f4eb..57527b9fcc 100644 --- a/setup/manageheader.php +++ b/setup/manageheader.php @@ -12,6 +12,7 @@ /* $Id$ */ $phpgw_info['flags'] = array( + 'nocachecontrol' => True, 'noheader' => True, 'nonavbar' => True, 'currentapp' => 'home', @@ -211,6 +212,19 @@ echo '

did not found any valid DB support !
try to configure your php to support one of the above mentioned dbs or install phpgroupware by hand

'; exit; } + + if (floor(phpversion()) == 3) + { + echo 'You appear to be using PHP3. Disabling PHP4 sessions support
' . "\n"; + $supported_sessions_type[] = 'db'; + } + else + { + echo 'You appear to be using PHP4. Enabling PHP4 sessions support
' . "\n"; + $supported_sessions_type[] = 'db'; + $supported_sessions_type[] = 'php4'; + } + $no_guess = false; if(file_exists('../header.inc.php') && is_file('../header.inc.php')) { @@ -331,7 +345,7 @@ } ?> - What Database do you want to use with PHPGroupWare? + What Database do you want to use with PHPGroupWare? Configuration Password
Password needed for configuration Persistent connection
@@ -340,6 +354,29 @@ Do you want persistent connections (higher performance, but eats memory) + + DB Type
+ What sessions management type do you want to use? + + Enable MCrypt