|
From: <var...@us...> - 2012-10-16 08:03:46
|
Revision: 8417
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8417&view=rev
Author: vargenau
Date: 2012-10-16 08:03:36 +0000 (Tue, 16 Oct 2012)
Log Message:
-----------
Always return string
Modified Paths:
--------------
trunk/lib/config.php
Modified: trunk/lib/config.php
===================================================================
--- trunk/lib/config.php 2012-10-15 22:53:54 UTC (rev 8416)
+++ trunk/lib/config.php 2012-10-16 08:03:36 UTC (rev 8417)
@@ -238,7 +238,9 @@
// [99ms]
function update_locale($loc)
{
- if ($loc == 'C' or $loc == 'en') return;
+ if ($loc == 'C' or $loc == 'en') {
+ return '';
+ }
// $LANG or DEFAULT_LANGUAGE is too less information, at least on unix for
// setlocale(), for bindtextdomain() to succeed.
$setlocale = guessing_setlocale(LC_ALL, $loc); // [56ms]
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|