diff options
author | Fabian Becker <halfdan@xnorfz.de> | 2013-03-13 21:55:39 +0400 |
---|---|---|
committer | Fabian Becker <halfdan@xnorfz.de> | 2013-03-13 21:55:39 +0400 |
commit | ecc9bedc5e68c518359c1ded0a445d20bbc46854 (patch) | |
tree | 413b1c7f9ea340d9e4d19a13166842ba778e3396 /plugins/SecurityInfo/PhpSecInfo | |
parent | e62a17da11ba0e437eaa3d250fbb453b724a5ff8 (diff) |
Disable Suhosin test for PHP > 5.3.9.
Suhosin project is inactive right now and the latest release is
for 5.3.9.
Diffstat (limited to 'plugins/SecurityInfo/PhpSecInfo')
-rw-r--r-- | plugins/SecurityInfo/PhpSecInfo/Test/Test_Suhosin.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/SecurityInfo/PhpSecInfo/Test/Test_Suhosin.php b/plugins/SecurityInfo/PhpSecInfo/Test/Test_Suhosin.php index c9a9b3a779..1f8883eeba 100644 --- a/plugins/SecurityInfo/PhpSecInfo/Test/Test_Suhosin.php +++ b/plugins/SecurityInfo/PhpSecInfo/Test/Test_Suhosin.php @@ -36,7 +36,9 @@ class PhpSecInfo_Test_Suhosin extends PhpSecInfo_Test * @return boolean */ function isTestable() { - + if (version_compare(PHP_VERSION, '5.3.9') >= 0) { + return false; + } return true; } |