projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag 'RELEASE_1_4_1'.
[m6w6/ext-http]
/
http.c
diff --git
a/http.c
b/http.c
index 05f448f560008ddcf754c9b4c5088aca722b7ff0..521f2b5ce58b7a0f660063e8e0ef8b3ac5b45f54 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-68,7
+68,6
@@
ZEND_GET_MODULE(http)
/* {{{ http_functions[] */
zend_function_entry http_functions[] = {
/* {{{ http_functions[] */
zend_function_entry http_functions[] = {
- PHP_FE(http_test, NULL)
PHP_FE(http_date, NULL)
PHP_FE(http_build_url, http_arg_pass_ref_4)
PHP_FE(http_build_str, NULL)
PHP_FE(http_date, NULL)
PHP_FE(http_build_url, http_arg_pass_ref_4)
PHP_FE(http_build_str, NULL)
@@
-187,7
+186,7
@@
static void http_globals_init_once(zend_http_globals *G)
static inline void _http_globals_init(zend_http_globals *G TSRMLS_DC)
{
#ifdef HTTP_HAVE_SAPI_RTIME
static inline void _http_globals_init(zend_http_globals *G TSRMLS_DC)
{
#ifdef HTTP_HAVE_SAPI_RTIME
- G->request.time =
Z_LVAL_P(http_get_server_var("REQUEST_TIME")
);
+ G->request.time =
sapi_get_request_time(TSRMLS_C
);
#else
G->request.time = time(NULL);
#endif
#else
G->request.time = time(NULL);
#endif