cacher: fixes #228, enable var caching for cli
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1341 c26eb9a1-5813-0410-bd6c-c2e55f420ca73.1
parent
b3c077134b
commit
6409eb5aef
|
@ -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
|
||||
|
|
|
@ -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…
Reference in New Issue