1
0
Fork 0

merged [416] from trunk->1.2: Garbage collector disabled when xcache.cacher set to off

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.2@417 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 15 years ago
parent 6bb8992326
commit 2e3707667d
  1. 1
      ChangeLog
  2. 7
      xcache.c

@ -4,6 +4,7 @@
== ChangeLog ==
* #86: remove/edit variable in admin page
* fixed #94: Garbage collector disabled when xcache.cacher set to off
* fixed #92: Zend Optimizer compatibility issue
* fixed #77: hits/misses was not updated
* fixed #59: pass by reference for internal function was broken

@ -1487,13 +1487,12 @@ static void xc_request_init(TSRMLS_D) /* {{{ */
}
}
if (XG(cacher)) {
#if PHP_API_VERSION <= 20041225
XG(request_time) = time(NULL);
XG(request_time) = time(NULL);
#else
XG(request_time) = sapi_get_request_time(TSRMLS_C);
XG(request_time) = sapi_get_request_time(TSRMLS_C);
#endif
}
#ifdef HAVE_XCACHE_COVERAGER
xc_coverager_request_init(TSRMLS_C);
#endif

Loading…
Cancel
Save