Browse Source

improve compatibility with "the ionCube PHP Loader" by skipping ZEND_VM_SET_OPCODE_HANDLER in redo two_pass

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1170 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
2f460a1052
  1. 2
      xcache/xc_utils.c

2
xcache/xc_utils.c

@ -252,7 +252,7 @@ int xc_redo_pass_two(zend_op_array *op_array TSRMLS_DC) /* {{{ */
Z_OP(opline->op2).jmp_addr = op_array->opcodes + Z_OP(opline->op2).opline_num;
break;
}
ZEND_VM_SET_OPCODE_HANDLER(opline);
/* ZEND_VM_SET_OPCODE_HANDLER(opline); this is not undone, don't redo. only do this for loader */
#endif
opline++;
}

Loading…
Cancel
Save