diff --git a/setup/class_setupStepChecks.inc b/setup/class_setupStepChecks.inc index 92cbcfc4434c2f16dd7b9b187280c178d5a37a85..14a7f534b0f36fed3d410e62a378978ca5845445 100644 --- a/setup/class_setupStepChecks.inc +++ b/setup/class_setupStepChecks.inc @@ -152,14 +152,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[] = ["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.")." ". @@ -210,14 +202,6 @@ class setupStepChecks extends setupStep $M = FALSE; $config_checks[] = ["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[] = ["NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M ]; - $this->basic_checks = $basic_checks; $this->config_checks = $config_checks; }