"added check for following php extensions:

- error if ctype is missing (required by HTMLpurifier)
- warning if mcrypt is missing (eTemplate form state)"
This commit is contained in:
Ralf Becker 2009-08-14 09:48:49 +00:00
parent ff1c884e65
commit 07c3816a14

View File

@ -200,6 +200,14 @@ $checks = array(
'is_world_readable' => False, 'is_world_readable' => False,
'only_if_exists' => @$GLOBALS['egw_info']['setup']['stage']['header'] != 10 'only_if_exists' => @$GLOBALS['egw_info']['setup']['stage']['header'] != 10
), ),
'ctype' => array(
'func' => 'extension_check',
'error' => lang("The ctype extension is needed by HTMLpurifier to check content of FCKeditor agains Cross Site Skripting."),
),
'mcrypt' => array(
'func' => 'extension_check',
'warning' => lang('The mcrypt extension is used, to store eTemplate form state on the client, which is the prefered way to store it.'),
),
); );
if (extension_loaded('session') && ini_get('session.save_handler') == 'files' && ($session_path = session_save_path())) if (extension_loaded('session') && ini_get('session.save_handler') == 'files' && ($session_path = session_save_path()))
{ {