summaryrefslogtreecommitdiff
path: root/main/safe_mode.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-03-30 22:38:50 +0000
committerAndi Gutmans <andi@php.net>2000-03-30 22:38:50 +0000
commitf9547241d56b4b9b5ecc81600e21ab55854bc7ba (patch)
tree53935b78b78b28ab6529137e6a5ee26b35d7e7a2 /main/safe_mode.c
parent69a16e9693ab9dee17f97926f256137f9203e571 (diff)
downloadphp-git-f9547241d56b4b9b5ecc81600e21ab55854bc7ba.tar.gz
- Fix another bug in session.c
- Start using the new PHP_GETCWD() and co. macros
Diffstat (limited to 'main/safe_mode.c')
-rw-r--r--main/safe_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/safe_mode.c b/main/safe_mode.c
index ab026376ba..b072552787 100644
--- a/main/safe_mode.c
+++ b/main/safe_mode.c
@@ -88,7 +88,7 @@ PHPAPI int php_checkuid(const char *fn, int mode) {
duid = sb.st_uid;
} else {
s = emalloc(MAXPATHLEN+1);
- if (!getcwd(s,MAXPATHLEN)) {
+ if (!PHP_GETCWD(s,MAXPATHLEN)) {
php_error(E_WARNING, "Unable to access current working directory");
return(0);
}