You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-php/eaccelerator/files/eaccelerator-openbasedir.patch

16 lines
536 B

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;