summaryrefslogtreecommitdiff
path: root/suhosin.c
diff options
context:
space:
mode:
authorBen Fuhrmannek2014-11-15 19:24:06 +0100
committerBen Fuhrmannek2014-11-15 19:24:06 +0100
commit9269000901c9ebba66433106da7e555b6b0d5fbb (patch)
tree2bfc784b2abd1ccf87e9a62e80c9c2e96d57fb75 /suhosin.c
parent27a91c25d974b4c0ad948dd22a0a689c45dae9c8 (diff)
removed old PHP4 related code
Diffstat (limited to '')
-rw-r--r--suhosin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/suhosin.c b/suhosin.c
index 6d437d0..564adf8 100644
--- a/suhosin.c
+++ b/suhosin.c
@@ -1056,9 +1056,9 @@ PHP_MINIT_FUNCTION(suhosin)
1056#endif 1056#endif
1057 1057
1058#if PHP_MAJOR_VERSION < 5 1058#if PHP_MAJOR_VERSION < 5
1059 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Suhosin Extension is not designed to run with PHP 4 and below. Erroring Out."); 1059#error Suhosin Extension is not designed to run with PHP 4 and below.
1060#endif 1060#endif
1061#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION <= 2 1061#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION <= 2 && !SUHOSIN_DEBUG
1062 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Suhosin Extension does not officially support PHP 5.2 and below anymore, because it is discontinued. Use it at your own risk."); 1062 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Suhosin Extension does not officially support PHP 5.2 and below anymore, because it is discontinued. Use it at your own risk.");
1063#endif 1063#endif
1064 1064