fix a small PHP fail

This commit is contained in:
Georg Ehrke 2012-07-01 21:50:53 +02:00
parent bf93dd4661
commit 8b5cae3c6c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}