Browse Source

cacher: handle the case on compiler error, pass testcase bug35740.phpt

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@319 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 15 years ago
parent
commit
4d09e78b6c
  1. 5
      xcache.c

5
xcache.c

@ -1257,10 +1257,11 @@ static zend_op_array *xc_compile_file(zend_file_handle *h, int type TSRMLS_DC) /
catched = 1;
} zend_end_try();
xce.data.php = &php;
if (catched) {
if (catched || !op_array) {
goto err_aftersandbox;
}
xce.data.php = &php;
}
/* }}} */
#ifdef HAVE_INODE

Loading…
Cancel
Save