diff options
| author | Stefan Esser | 2012-01-11 20:09:39 +0100 |
|---|---|---|
| committer | Stefan Esser | 2012-01-11 20:09:39 +0100 |
| commit | ffcf79874214b9b40525524ea5e47ed6a2562556 (patch) | |
| tree | a9b0835bba25d72b9593433d4e7907092748e428 | |
| parent | 512ce777e754db8f954b7431f7881c852230e435 (diff) | |
Cleanup
| -rw-r--r-- | suhosin.c | 8 |
1 files changed, 0 insertions, 8 deletions
| @@ -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 |
