Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-07-02 12:22:33 +0400
committerLukas Reschke <lukas@statuscode.ch>2012-07-02 12:22:33 +0400
commit4235ce0b63aa1084d48cddc567366e7d22a4f2d3 (patch)
tree5df5d31b6c296e758dd3145ff4eeea1c0aa1fd06 /lib/l10n.php
parent134d5d93c882812ed5c448421c542a4d7f56dc91 (diff)
parent8b5cae3c6c9ac7c949ab2cec5c2c4f32e35c944f (diff)
Merge branch 'stable4' of gitorious.org:owncloud/owncloud into stable4
Diffstat (limited to 'lib/l10n.php')
-rw-r--r--lib/l10n.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/l10n.php b/lib/l10n.php
index c5967109a60..de8514573d3 100644
--- a/lib/l10n.php
+++ b/lib/l10n.php
@@ -115,7 +115,7 @@ class OC_L10N{
// (Just no need to define date/time format etc. twice)
if((OC_Helper::issubdirectory($i18ndir.$lang.'.php', OC_App::getAppPath($app).'/l10n/') || OC_Helper::issubdirectory($i18ndir.$lang.'.php', OC::$SERVERROOT.'/core/l10n/') || OC_Helper::issubdirectory($i18ndir.$lang.'.php', OC::$SERVERROOT.'/settings')) && file_exists($i18ndir.$lang.'.php')) {
// Include the file, save the data from $CONFIG
- include($i18ndir.$lang.'.php');
+ include(strip_tags($i18ndir).strip_tags($lang).'.php');
if(isset($TRANSLATIONS) && is_array($TRANSLATIONS)){
$this->translations = $TRANSLATIONS;
}