From ffcf79874214b9b40525524ea5e47ed6a2562556 Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Wed, 11 Jan 2012 20:09:39 +0100 Subject: Cleanup --- suhosin.c | 8 -------- 1 file changed, 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) /* register the logo for phpinfo */ php_register_info_logo(SUHOSIN_LOGO_GUID, "image/jpeg", suhosin_logo, sizeof(suhosin_logo)); -#if PHP_MAJOR_VERSION > 5 || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1) - /* perform LFS check */ -/* time_t check = sapi_get_request_time(TSRMLS_C); - if (SG(global_request_time) != check) { - zend_error(E_ERROR, "It seems that PHP and Suhosin were compiled with different binary layouts. " - "This will cause problems like POST not working. Please tell your distributor to fix this."); - }*/ -#endif #if PHP_MAJOR_VERSION < 5 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Suhosin Extension is not designed to run with PHP 4 and below. Erroring Out."); #endif -- cgit v1.3