mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
"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:
parent
ff1c884e65
commit
07c3816a14
@ -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()))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user