Mail Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ApacheGallery] Patch for controlling name of root:



On Fri, Aug 08, 2003 at 12:45:39PM -0500, Christopher Knight wrote:
> My bad!
> 
> my $root_text = (defined($r->dir_config('GalleryRootText')) ? $r->dir_config('GalleryRootText') : "root:" );

Applied, thanks.

http://svn.apachegallery.dk/snapshots/Apache-Gallery-r171.tar.gz

> 
> better?
> 
> -----Original Message-----
> From: Andreas Plesner Jacobsen [mailto:[email protected]]
> Sent: Friday, August 08, 2003 12:00 PM
> To: [email protected]
> Subject: Re: [ApacheGallery] Patch for controlling name of root:
> 
> 
> On Fri, Aug 08, 2003 at 11:01:31AM -0500, Christopher Knight wrote:
> 
> > +  my $root_text=($r->dir_config('GalleryRootText') or "root:");
> 
> Wouldn't work if I wanted to set my root-name to "000" or something that
> evaluates to false.
> 
> -- 
> Andreas Plesner Jacobsen | A man's house is his hassle.
-- 
hestdesign.info - we put the hest in .com