From: Frank M. Kromann Date: Tue, 12 Mar 2002 18:08:52 +0000 (+0000) Subject: Changed to PHP_CONFIG_FILE_PATH use the environment variable SystemRoot X-Git-Tag: help~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e96dd604126e1d6ad9e4c87192224bb0a34d76bd;p=php Changed to PHP_CONFIG_FILE_PATH use the environment variable SystemRoot --- 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"