Changeset 254
- Timestamp:
- 10/17/2006 04:17:45 PM (7 years ago)
- Files:
-
- 1 modified
-
trunk/xcache.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r236 r254 1680 1680 stored_xce = xc_entry_find_dmz(&xce TSRMLS_CC); 1681 1681 if (stored_xce) { 1682 if ( XG(request_time) <= stored_xce->ctime + stored_xce->ttl) {1682 if (!VAR_ENTRY_EXPIRED(stored_xce)) { 1683 1683 xc_processor_restore_zval(return_value, stored_xce->data.var->value, stored_xce->have_references TSRMLS_CC); 1684 1684 /* return */ … … 2220 2220 STD_PHP_INI_BOOLEAN("xcache.optimizer", "0", PHP_INI_ALL, OnUpdateBool, optimizer, zend_xcache_globals, xcache_globals) 2221 2221 #endif 2222 STD_PHP_INI_ BOOLEAN("xcache.var_ttl", "0", PHP_INI_ALL, OnUpdateLong, var_ttl, zend_xcache_globals, xcache_globals)2222 STD_PHP_INI_ENTRY ("xcache.var_ttl", "0", PHP_INI_ALL, OnUpdateLong, var_ttl, zend_xcache_globals, xcache_globals) 2223 2223 #ifdef HAVE_XCACHE_COVERAGER 2224 2224 STD_PHP_INI_BOOLEAN("xcache.coverager" , "0", PHP_INI_ALL, OnUpdateBool, coverager, zend_xcache_globals, xcache_globals)

