mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
MFB: Fix for open_basedir error message
This commit is contained in:
parent
731a55ad52
commit
8c3cd0344d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user