From 586bfcfec5554efd639ff3450ccd026aed8edaf1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 15 Dec 2020 18:27:25 +0100 Subject: [PATCH] installation check: remove world readable for header.inc.php and additional warn if no APCu available --- setup/check_install.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/setup/check_install.php b/setup/check_install.php index 22b51d4935..c7bf6652da 100644 --- a/setup/check_install.php +++ b/setup/check_install.php @@ -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.'),