projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- allow to avoid deps on shared extensions on build time
[m6w6/ext-http]
/
http_functions.c
diff --git
a/http_functions.c
b/http_functions.c
index 0462c3b760b24aea0b31bd10ac51dea9e5f050a8..bdd021b767c90decadffae1d7c4b546ae25a417b 100644
(file)
--- a/
http_functions.c
+++ b/
http_functions.c
@@
-21,7
+21,7
@@
#include "ext/standard/php_string.h"
#include "zend_operators.h"
#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
# include "ext/session/php_session.h"
#endif
@@
-728,7
+728,7
@@
PHP_FUNCTION(http_redirect)
RETURN_FALSE;
}
RETURN_FALSE;
}
-#ifdef HAVE_PHP_SESSION
+#ifdef HAVE_PHP_SESSION
&& !HTTP_SHARED_EXT(PHP_SESSION)
/* append session info */
if (session) {
if (!params) {
/* append session info */
if (session) {
if (!params) {