Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 319)
+++ /trunk/xcache.c	(revision 320)
@@ -857,5 +857,5 @@
 	xc_hash_value_t hv;
 
-	stream = php_stream_open_wrapper(xce->name.str.val, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL);
+	stream = php_stream_open_wrapper(xce->name.str.val, "rb", USE_PATH | REPORT_ERRORS | ENFORCE_SAFE_MODE | STREAM_DISABLE_OPEN_BASEDIR, NULL);
 	if (!stream) {
 		return FAILURE;
