Code

Updated implicit_flush detection, it should be turned off not on
[gosa.git] / setup / class_setupStep_Checks.inc
index cc24c973109f888dc7cde1392aaab2792caa3838..5af36b6c49080f15fe4c8198e598deaf3a50da23 100644 (file)
@@ -181,7 +181,7 @@ class Step_Checks extends setup_step
 
     /* Register_globals off */
     $N = "register_globals = <b>"._("Off")."</b>";
-    $D = _("register_globals is a PHP mechanism to register all global varibales to be accessible from scripts without changing the scope. This may be a security risk.");
+    $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;
@@ -218,7 +218,7 @@ class Step_Checks extends setup_step
     $N = "implicit_flush = <b>"._("Off")."</b>";
     $D = _("This option influences the PHP output handling. Turn this Option off, to increase performance.");
     $S = _("Search for 'implicit_flush' in your php.ini and set it to 'Off'."); 
-    $R = ini_get('implicit_flush');
+    $R = !ini_get('implicit_flush');
     $M = FALSE;
     $this->config_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );