From 8b5cae3c6c9ac7c949ab2cec5c2c4f32e35c944f Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Sun, 1 Jul 2012 21:50:53 +0200 Subject: fix a small PHP fail --- lib/l10n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/l10n.php') 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; } -- cgit v1.2.3