Changeset 416 in svn


Ignore:
Timestamp:
2007-06-17T04:10:10Z (8 years ago)
Author:
Xuefer
Message:

fixed #94, gc was disabled when xcache.cacher set to off

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r405 r416  
    16811681    }
    16821682
    1683     if (XG(cacher)) {
    16841683#if PHP_API_VERSION <= 20041225
    1685         XG(request_time) = time(NULL);
     1684    XG(request_time) = time(NULL);
    16861685#else
    1687         XG(request_time) = sapi_get_request_time(TSRMLS_C);
    1688 #endif
    1689     }
     1686    XG(request_time) = sapi_get_request_time(TSRMLS_C);
     1687#endif
     1688
    16901689#ifdef HAVE_XCACHE_COVERAGER
    16911690    xc_coverager_request_init(TSRMLS_C);
Note: See TracChangeset for help on using the changeset viewer.