Browse Source

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

PHP-4.0.5
Joey Smith 25 years ago
parent
commit
a57ea792c6
  1. 2
      apidoc-zend.txt
  2. 2
      main/fopen_wrappers.c

2
apidoc-zend.txt

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

2
main/fopen_wrappers.c

@ -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…
Cancel
Save