Re: [Phpslash-devel] Second argument of psl_getLocalInfo
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-06-25 18:57:52
|
On Fri, Jun 20, 2003 at 09:29:56PM +0200, Alexander Bartolich wrote: > There is a file called config.php (according to installation guide). > On > > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ > > I guess it's really > > phpslash/phpslash-ft/public_html/config-dist.php3 > > Anyway, somewhere around line 640 is a strange call of psl_getLocalInfo: > > define("ALLSECTIONS", "section_id0"); > > if ($_PSL['timezone']['engine']) { > loadLibrary("tz"); > // set up the time zone environment array > $_TZ =& $_PSL['timezone']; > $_TZ['templatedir'] = $_PSL['templatedir']; > $_TZ['show_format'] = psl_getLocalInfo('LC_TIME','%a %b %e %H:%M:%S %Z > %Y'); > > This second argument looks like a "query by example". > None of the files in class/locale define a key like that. > Consequently psl_getLocalinfo (yes, lower case i in function.php) first > tries to load > de.LC_TIME.php and then falls back to en_US.LC_TIME.php. > > What's that good for? > uh - I don't see that it is used at all. It looks like it's trying to find that string in the time formats for some reason. Matt, you around? |