From cb45f661a2978cb336ad65f9469ed07c0d73bc89 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 9 Oct 2008 16:45:53 +0000 Subject: [PATCH] fixed typo session_handler --- setup/manageheader.php | 4 ++-- setup/templates/default/manageheader.tpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/manageheader.php b/setup/manageheader.php index a0b6d8eeb6..aa16fd0961 100644 --- a/setup/manageheader.php +++ b/setup/manageheader.php @@ -268,9 +268,9 @@ function show_header_form($validation_errors) $supported_session_handler = array( 'egw_session_files' => lang('PHP session handler enabled in php.ini'), ); - if (!isset($supported_session_handler[$GLOBALS['egw_info']['server']['sessions_handler']])) + if ($GLOBALS['egw_info']['server']['session_handler'] && !isset($supported_session_handler[$GLOBALS['egw_info']['server']['session_handler']])) { - $supported_session_handler[$GLOBALS['egw_info']['server']['sessions_handler']] = lang("Custom handler: %1",$GLOBALS['egw_info']['server']['sessions_handler']); + $supported_session_handler[$GLOBALS['egw_info']['server']['session_handler']] = lang("Custom handler: %1",$GLOBALS['egw_info']['server']['session_handler']); } $options = array(); foreach($supported_session_handler as $type => $label) diff --git a/setup/templates/default/manageheader.tpl b/setup/templates/default/manageheader.tpl index 57720c6c78..56f6b03713 100644 --- a/setup/templates/default/manageheader.tpl +++ b/setup/templates/default/manageheader.tpl @@ -61,7 +61,7 @@ function setDefaultDBPort(selectBox,portField) {lang_session}
- {session_options}