summaryrefslogtreecommitdiff
path: root/suhosin.c
diff options
context:
space:
mode:
authorBen Fuhrmannek2014-12-18 12:06:55 +0100
committerBen Fuhrmannek2014-12-18 12:06:55 +0100
commit68960966324f4701a1f402e97f17ca7870a317a4 (patch)
tree5a3c4c7deb4c1805d4a006a7e2cd441abf693286 /suhosin.c
parent59dab711ba444a16fc5f7114d628749e1818e303 (diff)
removed compatibility to PHP version < 5.4 (by ifdef)
Diffstat (limited to '')
-rw-r--r--suhosin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/suhosin.c b/suhosin.c
index 5b24789..b1bc47b 100644
--- a/suhosin.c
+++ b/suhosin.c
@@ -1058,10 +1058,10 @@ PHP_MINIT_FUNCTION(suhosin)
1058 php_register_info_logo(SUHOSIN_LOGO_GUID, "image/jpeg", suhosin_logo, sizeof(suhosin_logo)); 1058 php_register_info_logo(SUHOSIN_LOGO_GUID, "image/jpeg", suhosin_logo, sizeof(suhosin_logo));
1059#endif 1059#endif
1060 1060
1061#if PHP_MAJOR_VERSION < 5 1061#if PHP_VERSION_ID < 50400 //PHP_MAJOR_VERSION < 5
1062#error Suhosin Extension is not designed to run with PHP 4 and below. 1062#error Suhosin Extension is not designed to run with PHP versions lower than 5.4.
1063#endif 1063#endif
1064#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION <= 2 && !SUHOSIN_DEBUG 1064#if 0 //PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION <= 2 && !SUHOSIN_DEBUG
1065 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."); 1065 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.");
1066#endif 1066#endif
1067 1067