fixed typo session_handler

This commit is contained in:
Ralf Becker 2008-10-09 16:45:53 +00:00
parent b6996bee01
commit cb45f661a2
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -61,7 +61,7 @@ function setDefaultDBPort(selectBox,portField)
</tr>
<tr class="row_off">
<td><strong>{lang_session}</strong><br />
<select name="setting[sessions_handler]">
<select name="setting[session_handler]">
{session_options}
</select>
</td>