Mail Index


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

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



My bad!

my $root_text = (defined($r->dir_config('GalleryRootText')) ? $r->dir_config('GalleryRootText') : "root:" );

better?

-----Original Message-----
From: Andreas Plesner Jacobsen [mailto:apj@xxxxxxx]
Sent: Friday, August 08, 2003 12:00 PM
To: users@xxxxxxxxxxxxxxxx
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.