summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-05-23 03:40:52 +0000
committerfoobar <sniper@php.net>2001-05-23 03:40:52 +0000
commit726bd849c000ef2d63de7b77b835096ab6301663 (patch)
treeb7a1b5ac7572f5e976800332e3c902394d91f025 /main/fopen_wrappers.c
parent17e5edbf18ebe3b894cb740fffdf2b95d8869db7 (diff)
downloadphp-git-726bd849c000ef2d63de7b77b835096ab6301663.tar.gz
oops..
Diffstat (limited to 'main/fopen_wrappers.c')
-rw-r--r--main/fopen_wrappers.c2
1 files changed, 1 insertions, 1 deletions
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
) {