X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_functions.c;h=930908ded52d426721b3f64f1d6387292854697e;hb=1374172d6c717de67faf91519b100b5348329aee;hp=0462c3b760b24aea0b31bd10ac51dea9e5f050a8;hpb=50343c32560e80c491911b107fab8217a35850eb;p=m6w6%2Fext-http diff --git a/http_functions.c b/http_functions.c index 0462c3b..930908d 100644 --- a/http_functions.c +++ b/http_functions.c @@ -21,7 +21,7 @@ #include "ext/standard/php_string.h" #include "zend_operators.h" -#ifdef HAVE_PHP_SESSION +#if HTTP_HAVE_EXT(SESSION) # include "ext/session/php_session.h" #endif @@ -728,7 +728,7 @@ PHP_FUNCTION(http_redirect) RETURN_FALSE; } -#ifdef HAVE_PHP_SESSION +#if HTTP_HAVE_EXT(SESSION) /* append session info */ if (session) { if (!params) {