[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/media/includes
From: Matthias Messmer <messmer () kde ! org>
Date: 2011-06-11 9:37:32
Message-ID: 20110611093732.63CEEAC7BC () svn ! kde ! org
[Download RAW message or body]
SVN commit 1236107 by messmer:
i18n for subfolders
M +3 -1 functions.inc
--- trunk/www/media/includes/functions.inc #1236106:1236107
@@ -165,6 +165,8 @@
function startTranslation($dictionary)
{
+ global $document_root;
+
if (!isset($_SERVER['REQUEST_URI']))
return;
@@ -185,7 +187,7 @@
global $translation_file;
if (isset($translation_file))
{
- $dir_file = "i18n/" . $dictionary . "/" . $translation_file . ".inc";
+ $dir_file = $document_root . "/i18n/" . $dictionary . "/" . $translation_file . ".inc";
@include($dir_file);
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic