diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-07-01 21:50:53 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-07-01 21:51:46 +0200 |
commit | 5ff72f2cd7559ba39ad4f0a255debc02f38d4430 (patch) | |
tree | f5811ff6fc98e48b9a66086e41b61a6189688e29 | |
parent | eca2e073f812c89712c74f8626816c29a449232f (diff) | |
download | nextcloud-server-5ff72f2cd7559ba39ad4f0a255debc02f38d4430.tar.gz nextcloud-server-5ff72f2cd7559ba39ad4f0a255debc02f38d4430.zip |
fix a small PHP fail
-rw-r--r-- | lib/l10n.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/l10n.php b/lib/l10n.php index 4acbc5dcebc..b21829e91fd 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(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; } |