summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Fuhrmannek2014-11-21 14:39:11 +0100
committerBen Fuhrmannek2014-11-21 14:39:11 +0100
commitdf62872ad72b13c24637f33d2452269a48c88f8d (patch)
treeb0a39c055c3dce36cb366d9e150a59cca8d12c0f
parentcc9ccec7297ebb1853e0fbca6ba9a686583e5a45 (diff)
no session support warning on startup
-rw-r--r--suhosin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/suhosin.c b/suhosin.c
index 059e49d..181f702 100644
--- a/suhosin.c
+++ b/suhosin.c
@@ -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/* }}} */