Second argument of psl_getLocalInfo
Alexander Bartolich <[email protected]> Fri, 20 Jun 2003 21:29:56 +0200 (MEST)
| Newsgroups | gmane.comp.cms.phpslash.devel |
|---|---|
| Message-ID | <[email protected]> |
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!
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php