mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Close bug #7325. Patches by djm@web.us.uu.net.
This commit is contained in:
parent
57dcb93324
commit
a57ea792c6
2 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,7 @@ registers two INI entries - "foo" and "bar". They're given defaults "1"
|
|||
and "bah" respectively - note that all defaults are always given as
|
||||
strings. That doesn't reduce your ability to use integer values, simply
|
||||
specify them as strings. "foo" is marked so that it can be changed by
|
||||
anyone at any time (PHP_INI_ALL), whereas "foo" is marked so it can be
|
||||
anyone at any time (PHP_INI_ALL), whereas "bar" is marked so it can be
|
||||
changed only at startup in the php3.ini only, presumably, by the system
|
||||
administrator (PHP_INI_SYSTEM).
|
||||
When "foo" changes, no function is called. Access to it is done using the
|
||||
|
|
|
@ -217,7 +217,7 @@ PHPAPI int php_check_open_basedir(char *path)
|
|||
|
||||
ptr = end;
|
||||
}
|
||||
php_error(E_WARNING, "open_basedir restriction in effect. File is in wrong directory.");
|
||||
php_error(E_WARNING, "open_basedir restriction in effect. File is in wrong directory");
|
||||
efree(pathbuf);
|
||||
errno = EPERM; /* we deny permission to open it */
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue