summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Esser2012-01-11 20:09:39 +0100
committerStefan Esser2012-01-11 20:09:39 +0100
commitffcf79874214b9b40525524ea5e47ed6a2562556 (patch)
treea9b0835bba25d72b9593433d4e7907092748e428
parent512ce777e754db8f954b7431f7881c852230e435 (diff)
Cleanup
-rw-r--r--suhosin.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/suhosin.c b/suhosin.c
index 144bceb..a19385a 100644
--- a/suhosin.c
+++ b/suhosin.c
@@ -1075,14 +1075,6 @@ PHP_MINIT_FUNCTION(suhosin)
1075 /* register the logo for phpinfo */ 1075 /* register the logo for phpinfo */
1076 php_register_info_logo(SUHOSIN_LOGO_GUID, "image/jpeg", suhosin_logo, sizeof(suhosin_logo)); 1076 php_register_info_logo(SUHOSIN_LOGO_GUID, "image/jpeg", suhosin_logo, sizeof(suhosin_logo));
1077 1077
1078#if PHP_MAJOR_VERSION > 5 || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1)
1079 /* perform LFS check */
1080/* time_t check = sapi_get_request_time(TSRMLS_C);
1081 if (SG(global_request_time) != check) {
1082 zend_error(E_ERROR, "It seems that PHP and Suhosin were compiled with different binary layouts. "
1083 "This will cause problems like POST not working. Please tell your distributor to fix this.");
1084 }*/
1085#endif
1086#if PHP_MAJOR_VERSION < 5 1078#if PHP_MAJOR_VERSION < 5
1087 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Suhosin Extension is not designed to run with PHP 4 and below. Erroring Out."); 1079 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Suhosin Extension is not designed to run with PHP 4 and below. Erroring Out.");
1088#endif 1080#endif