Skip to content
Snippets Groups Projects
Commit 8b5cae3c authored by Georg Ehrke's avatar Georg Ehrke
Browse files

fix a small PHP fail

parent bf93dd46
Branches
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment