1
0
Fork 0

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 2013-07-22 07:22:58 +00:00
parent b3c077134b
commit 6409eb5aef
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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;
}
}