Close bug #7325. Patches by djm@web.us.uu.net.

This commit is contained in:
Joey Smith 2000-10-19 15:05:44 +00:00
parent 57dcb93324
commit a57ea792c6
2 changed files with 2 additions and 2 deletions

View file

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

View file

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