tbrehm
2008-03-12 6b55a115b09350dadcc4702cc2f2c524a25dee40
interface/web/admin/language_edit.php
@@ -65,13 +65,21 @@
      $msg = 'File saved.';
   }
   $file_content .= "?>\n";
   file_put_contents(ISPC_WEB_PATH."/$module/lib/lang/$lang_file" ,$file_content);
   if($module == 'global') {
      file_put_contents(ISPC_LIB_PATH."/lang/$lang_file" ,$file_content);
   } else {
      file_put_contents(ISPC_WEB_PATH."/$module/lib/lang/$lang_file" ,$file_content);
   }
}
$app->tpl->setVar(array('module' => $module,'lang_file' => $lang_file, 'lang' => $lang, 'msg' => $msg));
include(ISPC_WEB_PATH."/$module/lib/lang/$lang_file");
if($module == 'global') {
   include(ISPC_LIB_PATH."/lang/$lang_file");
} else {
   include(ISPC_WEB_PATH."/$module/lib/lang/$lang_file");
}
$keyword_list = array();
if(isset($wb) && is_array($wb)) {