Browse Source

fixes #14, #17, #18

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.0@86 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.0
Xuefer 16 years ago
parent
commit
1c60d9b1b1
  1. 6
      xcache.c

6
xcache.c

@ -668,6 +668,12 @@ static zend_op_array *xc_compile_file(zend_file_handle *h, int type TSRMLS_DC) /
goto err_oparray;
}
filename = h->opened_path ? h->opened_path : h->filename;
if (xce.name.str.val != filename) {
xce.name.str.val = filename;
xce.name.str.len = strlen(filename);
}
#ifdef HAVE_XCACHE_OPTIMIZER
if (XG(optimizer)) {
xc_optimize(op_array TSRMLS_CC);

Loading…
Cancel
Save