diff options
| author | Ben Fuhrmannek | 2014-11-15 19:24:06 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2014-11-15 19:24:06 +0100 |
| commit | 9269000901c9ebba66433106da7e555b6b0d5fbb (patch) | |
| tree | 2bfc784b2abd1ccf87e9a62e80c9c2e96d57fb75 /suhosin.c | |
| parent | 27a91c25d974b4c0ad948dd22a0a689c45dae9c8 (diff) | |
removed old PHP4 related code
Diffstat (limited to 'suhosin.c')
| -rw-r--r-- | suhosin.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ||
