From 8c3cd0344d63af776acf231aff631a531d963e63 Mon Sep 17 00:00:00 2001 From: foobar Date: Sun, 23 Feb 2003 22:30:02 +0000 Subject: [PATCH] MFB: Fix for open_basedir error message --- main/fopen_wrappers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 831d11a9ef..eac8e6f402 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -191,7 +191,7 @@ PHPAPI int php_check_open_basedir(const char *path TSRMLS_DC) ptr = end; } php_error_docref(NULL TSRMLS_CC, E_WARNING, - "open_basedir restriction in effect. File(%s) is not within the allowed path(s): (%s)", path, pathbuf); + "open_basedir restriction in effect. File(%s) is not within the allowed path(s): (%s)", path, PG(open_basedir)); efree(pathbuf); errno = EPERM; /* we deny permission to open it */ return -1; -- 2.50.1