Browse Source

added module dependency, thanks to Cristian Rodriguez

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.2@490 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 14 years ago
parent
commit
bdfcccd6be
  1. 1
      ChangeLog
  2. 17
      xcache.c

1
ChangeLog

@ -1,5 +1,6 @@
1.2.2 2007-12-29
== 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
* #59: Maximum execution time of 60 seconds exceeded

17
xcache.c

@ -2760,10 +2760,27 @@ 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,
#endif
XCACHE_NAME,
xcache_functions,
PHP_MINIT(xcache),

Loading…
Cancel
Save