Browse Source

cacher: fixes #228, enable var caching for cli

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1341 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.1
Xuefer 8 years ago
parent
commit
6409eb5aef
  1. 1
      ChangeLog
  2. 2
      mod_cacher/xc_cacher.c

1
ChangeLog

@ -1,6 +1,7 @@
3.1.0 2013-??-??
ChangeLog
========
* cacher: enable var caching for cli
* disassembler: fixes crash with nested sandbox
* disassembler, Decompiler: improves support for PHP_5_4
* adds support for PHP_5_5

2
mod_cacher/xc_cacher.c

@ -3722,7 +3722,7 @@ static PHP_MINIT_FUNCTION(xcache_cacher) /* {{{ */
if (strcmp(sapi_module.name, "cli") == 0) {
if (!xc_test) {
/* disable cache for cli except for testing */
xc_php_size = xc_var_size = 0;
xc_php_size = 0;
}
}

Loading…
Cancel
Save