Re: cvs: php4 /main config.w32.h

From: Date: Wed, 13 Mar 2002 07:03:01 +0000
Subject: Re: cvs: php4 /main config.w32.h
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10052@lists.php.net to get a copy of this message
IMHO yes. Those macros are pretty much useless on Windows without this patch. - Stig On Tue, 2002-03-12 at 19:22, derick@php.net wrote: > Hey, > > should this be merged into the branch? > > Derick > > On Tue, 12 Mar 2002, Frank M. Kromann wrote: > > > fmk Tue Mar 12 13:08:53 2002 EDT > > > > Modified files: > > /php4/main config.w32.h > > Log: > > Changed to PHP_CONFIG_FILE_PATH use the environment variable SystemRoot > > > > Index: php4/main/config.w32.h > > diff -u php4/main/config.w32.h:1.51 php4/main/config.w32.h:1.52 > > --- php4/main/config.w32.h:1.51 Thu Mar 7 15:00:08 2002 > > +++ php4/main/config.w32.h Tue Mar 12 13:08:52 2002 > > @@ -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" > > > > > > > > -- > > PHP CVS Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > ---------------------------------------------------------------------- > PHP: Scripting the Web - derick@php.net > All your branches are belong to me! > SRM: Site Resource Manager - www.vl-srm.net > ----------------------------------------------------------------------- > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.cvs (#10052) next »