summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/config.w32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config.w32.h b/main/config.w32.h
index f671986da4..bd8aeef5fc 100644
--- a/main/config.w32.h
+++ b/main/config.w32.h
@@ -264,5 +264,5 @@
#define PHP_DATADIR "c:\\php4"
#define PHP_SYSCONFDIR "c:\\php4"
#define PHP_LOCALSTATEDIR "c:\\php4"
-#define PHP_CONFIG_FILE_PATH "c:\\winnt"
+#define PHP_CONFIG_FILE_PATH (getenv("SystemRoot"))?getenv("SystemRoot"):""
#define PEAR_INSTALLDIR "c:\\php4\\pear"