Unverified Commit c4abb8b4 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(setup) Remove obsolete ini settings checks from web setup

issue #6167
Showing with 0 additions and 16 deletions
+0 -16
...@@ -167,14 +167,6 @@ class setupStepChecks extends setupStep ...@@ -167,14 +167,6 @@ class setupStepChecks extends setupStep
/* PHP Configuration checks */ /* 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 ? */ /* session lifetime set to >=86400 seconds ? */
$N = "session.gc_maxlifetime &gt;= <b>86400</b>"; $N = "session.gc_maxlifetime &gt;= <b>86400</b>";
$D = _("PHP uses this value for the garbage collector to delete old sessions.")." ". $D = _("PHP uses this value for the garbage collector to delete old sessions.")." ".
...@@ -225,14 +217,6 @@ class setupStepChecks extends setupStep ...@@ -225,14 +217,6 @@ class setupStepChecks extends setupStep
$M = FALSE; $M = FALSE;
$config_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M ); $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->basic_checks = $basic_checks;
$this->config_checks = $config_checks; $this->config_checks = $config_checks;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment