[svn r17836] Fixing validation in SVN#17707

skala
Julio Montoya 16 years ago
parent 2122b47e62
commit a689016f70
  1. 5
      main/inc/global.inc.php

@ -486,8 +486,9 @@ $langpath = api_get_path(SYS_CODE_PATH).'lang/';
if (is_array($language_files)) { if (is_array($language_files)) {
foreach($language_files as $index => $language_file) { foreach($language_files as $index => $language_file) {
include($langpath.'english/'.$language_file.'.inc.php'); include($langpath.'english/'.$language_file.'.inc.php');
if (($language_interface)!='false') { $langfile = $langpath.$language_interface.'/'.$language_file.'.inc.php';
include($langpath.$language_interface.'/'.$language_file.'.inc.php'); if (file_exists($langfile)) {
include($langfile);
} }
} }
} }

Loading…
Cancel
Save