cvs: phpweb /include layout.inc
| From: | Hannes Magnusson | Date: | Mon, 20 Apr 2009 07:25:33 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-4481@lists.php.net to get a copy of this message | ||
bjori Mon Apr 20 07:25:33 2009 UTC
Modified files:
/phpweb/include layout.inc
Log:
Fixed bug#48021 (Language Error in php.net) (Kalle)
http://cvs.php.net/viewvc.cgi/phpweb/include/layout.inc?r1=1.301&r2=1.302&diff_format=u
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.301 phpweb/include/layout.inc:1.302
--- phpweb/include/layout.inc:1.301 Fri Apr 17 11:35:15 2009
+++ phpweb/include/layout.inc Mon Apr 20 07:25:33 2009
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.301 2009/04/17 11:35:15 bjori Exp $ */
+/* $Id: layout.inc,v 1.302 2009/04/20 07:25:33 bjori Exp $ */
// Set the static content root differently on php.net
$_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ?
@@ -150,6 +150,7 @@
// Right-to-left support
$rtl = "";
+ $lang = "en";
if (isset($PGI, $PGI['head'], $PGI['head'][1])) {
$lang = language_convert($PGI['head'][1]);
switch ($lang) {