From: Andi Gutmans Date: Thu, 30 Mar 2000 22:39:29 +0000 (+0000) Subject: - Use PHP_CHDIR() X-Git-Tag: php-4.0RC2~560 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72b57c66f096e1a16e865de808296bfffbf3c41b;p=php - Use PHP_CHDIR() --- diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 9ab09104e1..b2a6f1980a 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -298,7 +298,7 @@ PHPAPI FILE *php_fopen_primary_script(void) temp = estrdup(fn); php_dirname(temp, strlen(temp)); if (*temp) { - chdir(temp); + PHP_CHDIR(temp); } efree(temp); SG(request_info).path_translated = fn;