Browse Source

merged r490 from b1.2: added module dependency, thanks to Cristian Rodriguez

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@492 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 14 years ago
parent
commit
0d656f2095
  1. 1
      ChangeLog
  2. 19
      xcache.c

1
ChangeLog

@ -5,6 +5,7 @@ Ini Settings Changes
ChangeLog
========
* added module dependency
* live with wrong system time: allow caching files with mtime in further
* bug fix for compatibility with Zend Optimizer and other non-cachable
* new: xcache.stat = On

19
xcache.c

@ -2929,11 +2929,28 @@ static ZEND_MODULE_POST_ZEND_DEACTIVATE_D(xcache)
return SUCCESS;
}
/* }}} */
/* {{{ module dependencies */
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep xcache_module_deps[] = {
ZEND_MOD_REQUIRED("standard")
ZEND_MOD_CONFLICTS("apc")
ZEND_MOD_CONFLICTS("eAccelerator")
ZEND_MOD_CONFLICTS("Turck MMCache")
{NULL, NULL, NULL}
};
#endif
/* }}} */
/* {{{ module definition structure */
zend_module_entry xcache_module_entry = {
#if ZEND_MODULE_API_NO >= 20050922
STANDARD_MODULE_HEADER_EX,
NULL,
xcache_module_deps,
#else
STANDARD_MODULE_HEADER,
"XCache",
#endif
XCACHE_NAME,
xcache_functions,
PHP_MINIT(xcache),
PHP_MSHUTDOWN(xcache),

Loading…
Cancel
Save