summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-05-23 17:02:21 +0000
committerAndi Gutmans <andi@php.net>2000-05-23 17:02:21 +0000
commit617266e33efa1739e76dc8a2e34d028f80815ac2 (patch)
treec92d0bb864df1d6feec5efebb04bd697f9f19223 /ext/standard
parent417f74451f1252b6153b34e09cfaebf104c24987 (diff)
downloadphp-git-617266e33efa1739e76dc8a2e34d028f80815ac2.tar.gz
- Virtual current working directory is now enabled
- Added support for mkdir()/rmdir() and more
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 57569e73b0..d129f6b892 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -1232,7 +1232,7 @@ PHP_FUNCTION(mkdir)
if (PG(safe_mode) &&(!php_checkuid((*arg1)->value.str.val,3))) {
RETURN_FALSE;
}
- ret = mkdir((*arg1)->value.str.val,mode);
+ ret = V_MKDIR((*arg1)->value.str.val,mode);
if (ret < 0) {
php_error(E_WARNING,"MkDir failed (%s)", strerror(errno));
RETURN_FALSE;