Looks ok to me.

On Fri, 1 Feb 2002, James E. Flemer wrote:

> Hello ... It's been a while since I've actively been
> committing to PHP. So I thought I'd run this by everyone
> first.
>
> This is a patch to change the behavior of the PHP.INI
> directive "safe_mode_include_dir" (which I added about 6
> months ago). As it is currently, "safe_mode_include_dir"
> takes a single directory (ie. /usr/local/lib/php) and
> bypasses UID/GID checks on files included from that
> directory.
>
> This patch changes the behavior to allow a path-style list
> of directories to be listed (similar to "include_path").
> While I was at it, I made the code surrounding the check
> much more readable by separating the safe_mode_include_dir
> check into a separate function (a la open_base_dir_check).
>
> Since a single directory is a valid path-style string, this
> patch is completely backward compatible. Unless I broke
> anything in the actual checking, which is another reason I
> am posting this before I commit it. I cannot get current
> CVS to build, so this patch is off of php-4.1.1, but
> applies cleanly to php-cvs.
>
> Thanks,
> -James
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to