mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Close bug #7325. Patches by djm@web.us.uu.net.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user