MFB: Fix for open_basedir error message

This commit is contained in:
foobar 2003-02-23 22:30:02 +00:00
parent 731a55ad52
commit 8c3cd0344d

View File

@ -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;