projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- add HttpMessage::guessContentType()
[m6w6/ext-http]
/
http_functions.c
diff --git
a/http_functions.c
b/http_functions.c
index 0462c3b760b24aea0b31bd10ac51dea9e5f050a8..930908ded52d426721b3f64f1d6387292854697e 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"
-#if
def HAVE_PHP_SESSION
+#if
HTTP_HAVE_EXT(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;
}
-#if
def HAVE_PHP_SESSION
+#if
HTTP_HAVE_EXT(SESSION)
/* append session info */
if (session) {
if (!params) {
/* append session info */
if (session) {
if (!params) {