Skip to content

Commit

Permalink
Missed one in my update
Browse files Browse the repository at this point in the history
  • Loading branch information
MacgyverH committed Feb 24, 2016
1 parent 97b6ff5 commit 57194ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/prism_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function translateEngine($lang_subdirectory, $languageID, $messageID, $args = ar
if(is_readable($lang_file)){
$Messages = parse_ini_file ($lang_file);
} else {
$lang_file = "{$lang_folder}/{$fallback}.ini";
$lang_file = "{$lang_folder}/{$LANG[$fallback]}.ini";
if(is_readable($lang_file)){
$Messages = parse_ini_file ($lang_file);
console("Language File for {$LANG[$languageID]} in {$lang_subdirectory} is missing or not readable.");
Expand Down

0 comments on commit 57194ce

Please sign in to comment.