diff options
Diffstat (limited to 'suhosin.c')
| -rw-r--r-- | suhosin.c | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -1062,6 +1062,10 @@ PHP_MINIT_FUNCTION(suhosin) | |||
| 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 | ||
| 1065 | #if !defined(HAVE_PHP_SESSION) && !defined(SUHOSIN_NO_SESSION_WARNING) | ||
| 1066 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Suhosin was compiled without session support, which is probably not what you want. All session related features will not be available, e.g. session encryption. If session support is really not needed, recompile Suhosin with -DSUHOSIN_NO_SESSION_WARNING=1 to suppress this warning."); | ||
| 1067 | #endif | ||
| 1068 | |||
| 1065 | return SUCCESS; | 1069 | return SUCCESS; |
| 1066 | } | 1070 | } |
| 1067 | /* }}} */ | 1071 | /* }}} */ |
