X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_functions.c;h=bdd021b767c90decadffae1d7c4b546ae25a417b;hp=0462c3b760b24aea0b31bd10ac51dea9e5f050a8;hb=ebf03950ffaea849b931adf83b6c20ac9fb7ef33;hpb=9676c81efbb8f180fa189d71a7ecb50dde4f5646 diff --git a/http_functions.c b/http_functions.c index 0462c3b..bdd021b 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 +#ifdef HAVE_PHP_SESSION && !HTTP_SHARED_EXT(PHP_SESSION) # include "ext/session/php_session.h" #endif @@ -728,7 +728,7 @@ PHP_FUNCTION(http_redirect) RETURN_FALSE; } -#ifdef HAVE_PHP_SESSION +#ifdef HAVE_PHP_SESSION && !HTTP_SHARED_EXT(PHP_SESSION) /* append session info */ if (session) { if (!params) {