From e96dd604126e1d6ad9e4c87192224bb0a34d76bd Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Tue, 12 Mar 2002 18:08:52 +0000 Subject: [PATCH] Changed to PHP_CONFIG_FILE_PATH use the environment variable SystemRoot --- main/config.w32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.50.1