mirror of
https://github.com/php/php-src.git
synced 2026-03-31 04:32:19 +02:00
- One more fopen -> PHP_FOPEN patch
This commit is contained in:
@@ -29,7 +29,7 @@ void UpdateIniFromRegistry(char *path)
|
||||
char drive_letter;
|
||||
|
||||
/* get current working directory and prepend it to the path */
|
||||
if (!getcwd(tmp_buf, MAXPATHLEN)) {
|
||||
if (!PHP_GETCWD(tmp_buf, MAXPATHLEN)) {
|
||||
efree(orig_path);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user