Re: cvs: php4(PHP_4_0_6) /main fopen_wrappers.c
| From: | Andi Gutmans | Date: | Wed, 23 May 2001 04:09:11 +0000 |
| Subject: | Re: cvs: php4(PHP_4_0_6) /main fopen_wrappers.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-5951@lists.php.net to get a copy of this message | ||
I'm a bit sleepy right now (just woke up).
But shouldn't that open_basedir be the function argument basedir? Did I miss something?
I can't quite understand why it compiles :)
Coffee time.
Andi
At 12:34 AM 5/23/2001 +0000, Jani Taskinen wrote:
sniper Tue May 22 17:34:01 2001 EDTModified files: (Branch: PHP_4_0_6) /php4/main fopen_wrappers.cLog: MFH Index: php4/main/fopen_wrappers.c diff -u php4/main/fopen_wrappers.c:1.113 php4/main/fopen_wrappers.c:1.113.2.1--- php4/main/fopen_wrappers.c:1.113 Mon Apr 30 05:43:40 2001+++ php4/main/fopen_wrappers.c Tue May 22 17:34:00 2001 @@ -16,7 +16,7 @@| Jim Winstead <jimw@php.net> | +----------------------------------------------------------------------+*/ -/* $Id: fopen_wrappers.c,v 1.113 2001/04/30 12:43:40 andi Exp $ */ +/* $Id: fopen_wrappers.c,v 1.113.2.1 2001/05/23 00:34:00 sniper Exp $ */ #include "php.h" #include "php_globals.h" @@ -147,7 +147,7 @@SLS_FETCH();/* Special case basedir==".": Use script-directory */ - if ((strcmp(PG(open_basedir), ".") == 0) && + if ((strcmp(open_basedir, ".") == 0) && SG(request_info).path_translated && *SG(request_info).path_translated ) {-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net