From: Antony Dovgal Date: Wed, 3 Jan 2007 18:52:23 +0000 (+0000) Subject: fix magic numbers X-Git-Tag: RELEASE_1_0_0RC1~416 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=287e1b3f36c074b1f9fe497f0378987383f2a3b8;p=php fix magic numbers --- diff --git a/sapi/apache2filter/php_functions.c b/sapi/apache2filter/php_functions.c index 3e0698d2ad..9340204816 100644 --- a/sapi/apache2filter/php_functions.c +++ b/sapi/apache2filter/php_functions.c @@ -289,7 +289,7 @@ PHP_FUNCTION(apache_getenv) static char *php_apache_get_version() { -#if MODULE_MAGIC_NUMBER_MAJOR >= 20070905 +#if MODULE_MAGIC_NUMBER_MAJOR >= 20060905 return (char *) ap_get_server_banner(); #else return (char *) ap_get_server_version(); diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c index e2a5cc362a..277046b33b 100644 --- a/sapi/apache2handler/php_functions.c +++ b/sapi/apache2handler/php_functions.c @@ -333,7 +333,7 @@ PHP_FUNCTION(apache_getenv) static char *php_apache_get_version() { -#if MODULE_MAGIC_NUMBER_MAJOR >= 20070905 +#if MODULE_MAGIC_NUMBER_MAJOR >= 20060905 return (char *) ap_get_server_banner(); #else return (char *) ap_get_server_version();