From: foobar Date: Sun, 23 Feb 2003 22:30:02 +0000 (+0000) Subject: MFB: Fix for open_basedir error message X-Git-Tag: RELEASE_0_5~804 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c3cd0344d63af776acf231aff631a531d963e63;p=php MFB: Fix for open_basedir error message --- 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;