summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-05-23 00:33:47 +0000
committerfoobar <sniper@php.net>2001-05-23 00:33:47 +0000
commit1567b0dfe0e32f39b501f4b16fa4ca2d68311a88 (patch)
tree43943a8521544ba369e755db3ddb5ccf637cac91 /main/fopen_wrappers.c
parent915875a6670c83770d10ead1a19ac57224796d5f (diff)
downloadphp-git-1567b0dfe0e32f39b501f4b16fa4ca2d68311a88.tar.gz
fixed bug: #10960
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 217d35abd9..9d3cfc295e 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(PG(open_basedir), ".") == 0) &&
+ if ((strcmp(open_basedir, ".") == 0) &&
SG(request_info).path_translated &&
*SG(request_info).path_translated
) {