Re: PEAR::Config - conflict

From: Date: Mon, 29 Oct 2007 15:45:12 +0000
Subject: Re: PEAR::Config - conflict
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28140@lists.php.net to get a copy of this message
Mark, >>> I was wondering if I already have a file that I am including in my classes >>> called config.php and I install PEAR::Config will I start getting >>> conflicts? >> You should not because Config.php has an upppercase C in its name. >> Unless you are on windows, which gives you trouble. > Bummer, windows strikes again ... 1. You can still fix it with include path magic. Put the pear path before your local path ".", and pear's config will be included first. Your own config can be included with dirname(__FILE__) . '/config.php' from your index.php 2. Put your own config.php into a subdir and include it with 'subdir/config.php'/ -- Christian Weiske <cweiske@cweiske.de>

« previous php.pear.general (#28140) next »