diff options
| author | Ben Fuhrmannek | 2014-12-18 12:06:55 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2014-12-18 12:06:55 +0100 |
| commit | 68960966324f4701a1f402e97f17ca7870a317a4 (patch) | |
| tree | 5a3c4c7deb4c1805d4a006a7e2cd441abf693286 /suhosin.c | |
| parent | 59dab711ba444a16fc5f7114d628749e1818e303 (diff) | |
removed compatibility to PHP version < 5.4 (by ifdef)
Diffstat (limited to '')
| -rw-r--r-- | suhosin.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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 | ||
