diff --git a/rainloop/v/1.3.0.442/check.php b/rainloop/v/1.3.0.442/check.php index 18e2192f6..69ed34319 100644 --- a/rainloop/v/1.3.0.442/check.php +++ b/rainloop/v/1.3.0.442/check.php @@ -12,15 +12,6 @@ 'SPL' => function_exists('spl_autoload_register') ); - $bRequirements = true; - foreach ($aRequirements as $sKey => $bValue) - { - if (!$bValue) - { - $bRequirements = false; - break; - } - } if (0 > version_compare(PHP_VERSION, '5.3.0')) { @@ -30,17 +21,20 @@ exit(301); } - if (!$bRequirements) + if (in_array(false,$aRequirements)) { echo '

'; - echo 'Required PHP extension are not available in your PHP configuration! (Error Code: 302)'; + echo 'The following PHP extensions are not available in your PHP configuration! (Error Code: 302)'; echo '

'; exit(302); - } \ No newline at end of file + }