Re: pearweb display of packages in a category

From: Date: Fri, 20 Feb 2004 18:41:30 +0000
Subject: Re: pearweb display of packages in a category
References: 1  Groups: php.pear.core 
Request: Send a blank email to pear-core+get-113@lists.php.net to get a copy of this message
You could set an env var in apache and check for $_ENV['CHANNEL_NAME'] in the script, and then fall back on $_SERVER['SERVER_NAME'] if it is not set. --Wez. ----- Original Message ----- From: "Greg Beaver" <greg@chiaraquartet.net> To: "PEAR Core" <pear-core@lists.php.net> Sent: Friday, February 20, 2004 6:10 PM Subject: [PEAR-CORE] pearweb display of packages in a category > Hi, > > Now that channels are named based on the server name, this simplifies > the implementation in pearweb quite a bit. I can use > $_SERVER['SERVER_NAME'] to determine the current channel name, assuming > pearweb is always run on apache, and that can be used to determine the > channel that is requested. My question is how to design this so that it > can be faked on a dev box. > > Greg > > -- > PEAR Core List Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.pear.core (#113) next »