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:
authorGeorg Ehrke <dev@georgswebsite.de>2012-07-01 23:50:53 +0400
committerGeorg Ehrke <dev@georgswebsite.de>2012-07-01 23:50:53 +0400
commit8b5cae3c6c9ac7c949ab2cec5c2c4f32e35c944f (patch)
tree2fdcf5857a0e60ab04a2238ac0dea1c26246bd25 /lib/l10n.php
parentbf93dd4661445560a62281284132e23cd48e9839 (diff)
fix a small PHP fail
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 c0ecdbd1b70..868f8881ec2 100644
--- a/lib/l10n.php
+++ b/lib/l10n.php
@@ -94,7 +94,7 @@ class OC_L10N{
// (Just no need to define date/time format etc. twice)
if(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;
}