From 07c3816a145cb46ea3b6ab4ac14bba31bbba1fff Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 14 Aug 2009 09:48:49 +0000 Subject: [PATCH] "added check for following php extensions: - error if ctype is missing (required by HTMLpurifier) - warning if mcrypt is missing (eTemplate form state)" --- setup/check_install.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup/check_install.php b/setup/check_install.php index 817c0487ae..e86f79f274 100644 --- a/setup/check_install.php +++ b/setup/check_install.php @@ -200,6 +200,14 @@ $checks = array( 'is_world_readable' => False, '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())) {