installation check: remove world readable for header.inc.php and additional warn if no APCu available

This commit is contained in:
Ralf Becker 2020-12-15 18:27:25 +01:00
parent 5fae437a52
commit 586bfcfec5

View File

@ -204,15 +204,14 @@ $checks = array(
'only_if_exists' => true, // quitens "file does not exist" for doc symlinks in Debian to files outside open_basedir
'recursiv' => True
),
realpath('../header.inc.php') => array(
'func' => 'permission_check',
'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."),
),
'apcu' => array(
'func' => 'extension_check',
'warning' => lang('The APCu extension is required by EGroupware for caching.'),
),
'json' => array(
'func' => 'extension_check',
'error' => lang('The json extension is required by EGroupware for AJAX.'),