Browse Source

typo; remove debug code

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1083 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
2cf33cdf94
  1. 3
      mod_cacher/xc_cacher.c

3
mod_cacher/xc_cacher.c

@ -129,6 +129,7 @@ static zend_compile_file_t *old_compile_file = NULL;
static zend_bool xc_readonly_protection = 0;
zend_bool xc_have_op_array_ctor = 0;
/* }}} */
typedef enum { XC_TYPE_PHP, XC_TYPE_VAR } xc_entry_type_t;
@ -3283,9 +3284,7 @@ static PHP_MINIT_FUNCTION(xcache_cacher) /* {{{ */
ext = zend_get_extension("Zend Optimizer");
if (ext) {
/* zend_optimizer.optimization_level>0 is not compatible with other cacher, disabling */
#if 0
ext->op_array_handler = NULL;
#endif
}
/* cache if there's an op_array_ctor */
for (ext = zend_llist_get_first_ex(&zend_extensions, &lpos);

Loading…
Cancel
Save