Skip to content
Snippets Groups Projects
Commit e4960c3b authored by Georg Ehrke's avatar Georg Ehrke Committed by Lukas Reschke
Browse files

fix a small PHP fail

parent 4e63981d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment