Changeset 416 for trunk/xcache.c

Show
Ignore:
Timestamp:
06/17/2007 04:10:10 AM (18 months ago)
Author:
moo
Message:

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

Files:
1 modified

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);