Changeset 406
- Timestamp:
- 02/18/10 14:49:23 (5 months ago)
- Files:
-
- eaccelerator/trunk/ChangeLog (modified) (1 diff)
- eaccelerator/trunk/eaccelerator.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/ChangeLog
r405 r406 3 3 * Remove some leftover debug output that broke compilation with 4 4 php-5.2 and --with-eaccelerator-debug 5 * php_check_open_basedir only needs to be called when restoring 5 6 6 7 2010-02-04 Hans Rakers <hans at react.nl> eaccelerator/trunk/eaccelerator.c
r394 r406 777 777 EACCELERATOR_PROTECT(); 778 778 if (p != NULL && p->op_array != NULL) { 779 /* only restore file when open_basedir allows it */ 780 if (php_check_open_basedir(realname TSRMLS_CC)) { 781 return NULL; 782 } 779 783 EAG(class_entry) = NULL; 780 784 op_array = restore_op_array(NULL, p->op_array TSRMLS_CC); … … 1129 1133 DBG(ea_debug_printf, (EA_DEBUG, "[%d] Leave COMPILE\n", getpid())); 1130 1134 return t; 1131 }1132 1133 /* only restore file when open_basedir allows it */1134 if (PG(open_basedir) && php_check_open_basedir(realname TSRMLS_CC)) {1135 zend_error(E_ERROR, "Can't load %s, open_basedir restriction.", file_handle->filename);1136 1135 } 1137 1136