diff options
Diffstat (limited to 'suhosin.c')
| -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 | ||
