From 726bd849c000ef2d63de7b77b835096ab6301663 Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 23 May 2001 03:40:52 +0000 Subject: [PATCH] oops.. --- main/fopen_wrappers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 9d3cfc295e..b8f752a84c 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -147,7 +147,7 @@ PHPAPI int php_check_specific_open_basedir(char *basedir, char *path PLS_DC) SLS_FETCH(); /* Special case basedir==".": Use script-directory */ - if ((strcmp(open_basedir, ".") == 0) && + if ((strcmp(basedir, ".") == 0) && SG(request_info).path_translated && *SG(request_info).path_translated ) { -- 2.50.1