From c4abb8b4ddc02ff2619cfb8682b35e51bdd892d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come.chilliet@fusiondirectory.org> Date: Tue, 22 Jun 2021 16:44:44 +0200 Subject: [PATCH] :ambulance: fix(setup) Remove obsolete ini settings checks from web setup issue #6167 --- setup/class_setupStepChecks.inc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/setup/class_setupStepChecks.inc b/setup/class_setupStepChecks.inc index 847f8c2f4..081645f53 100644 --- a/setup/class_setupStepChecks.inc +++ b/setup/class_setupStepChecks.inc @@ -167,14 +167,6 @@ class setupStepChecks extends setupStep /* PHP Configuration checks */ - /* Register_globals off */ - $N = "register_globals = <b>off</b>"; - $D = _("register_globals is a PHP mechanism to register all global variables to be accessible from scripts without changing the scope. This may be a security risk."); - $S = _("Search for 'register_globals' in your php.ini and switch it to 'Off'."); - $R = ini_get("register_globals") == 0; - $M = FALSE; - $config_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M ); - /* session lifetime set to >=86400 seconds ? */ $N = "session.gc_maxlifetime >= <b>86400</b>"; $D = _("PHP uses this value for the garbage collector to delete old sessions.")." ". @@ -225,14 +217,6 @@ class setupStepChecks extends setupStep $M = FALSE; $config_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M ); - /* Emulating old stuff? */ - $N = "zend.ze1_compatibility_mode = <b>"._("Off")."</b>"; - $D = _("Increase your server performance by setting magic_quotes_gpc to 'off'."); - $S = _("Search for 'zend.ze1_compatibility_mode' in your php.ini and set it to 'Off'."); - $R = !ini_get('zend.ze1_compatibility_mode'); - $M = FALSE; - $config_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M ); - $this->basic_checks = $basic_checks; $this->config_checks = $config_checks; } -- GitLab