summaryrefslogtreecommitdiff
blob: 27f2c484fbe4ddec77c1d59e1a42fcb84e8388af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fixes issue with open_basedir
Gentoo bug: 356425
Upstream bug: http://eaccelerator.net/ticket/396

--- eaccelerator.c.old	2010-05-31 23:21:14.000000000 +0300
+++ eaccelerator.c	2010-09-23 10:42:11.218144970 +0300
@@ -864,7 +864,7 @@
   EACCELERATOR_PROTECT();
   if (p != NULL && p->op_array != NULL) {
     /* only restore file when open_basedir allows it */
-    if (php_check_open_basedir(realname TSRMLS_CC)) {
+    if (php_check_open_basedir(p->realfilename TSRMLS_CC)) {
       return NULL;
     }		
     EAG(class_entry) = NULL;