[Phpslash-devel] Second argument of psl_getLocalInfo
Brought to you by:
joestewart,
nhruby
From: Alexander B. <ale...@gm...> - 2003-06-20 19:30:18
|
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? -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! |