projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- bugs
[m6w6/ext-http]
/
http.c
diff --git
a/http.c
b/http.c
index 7b90bd01d98dc5d6e93f7de1cbdd4bb092d1f6fa..ce1a3988c8133c294e4eaa6090173b3139d0b699 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-155,6
+155,8
@@
zend_module_entry http_module_entry = {
};
/* }}} */
};
/* }}} */
+int http_module_number;
+
#ifdef HTTP_HAVE_CURL
# ifdef HTTP_CURL_USE_ZEND_MM
static void http_curl_free(void *p) { efree(p); }
#ifdef HTTP_HAVE_CURL
# ifdef HTTP_CURL_USE_ZEND_MM
static void http_curl_free(void *p) { efree(p); }
@@
-215,6
+217,8
@@
PHP_INI_END()
/* {{{ PHP_MINIT_FUNCTION */
PHP_MINIT_FUNCTION(http)
{
/* {{{ PHP_MINIT_FUNCTION */
PHP_MINIT_FUNCTION(http)
{
+ http_module_number = module_number;
+
ZEND_INIT_MODULE_GLOBALS(http, NULL, NULL);
REGISTER_INI_ENTRIES();
ZEND_INIT_MODULE_GLOBALS(http, NULL, NULL);
REGISTER_INI_ENTRIES();