mirror of https://github.com/BOINC/boinc.git
user web: remove an undocumented feature where anyone could do a recompile of language files by just knowing an URL parameter.
svn path=/trunk/boinc/; revision=18046
This commit is contained in:
parent
5127e7452a
commit
2ba2d7b1a6
|
@ -4388,3 +4388,10 @@ Bernd 7 May 2009
|
|||
- <cstdio> is a C++ haeder - moved it to __cplusplus section
|
||||
lib/
|
||||
filesys.h
|
||||
|
||||
Rytis 7 May 2009
|
||||
- user web: remove an undocumented feature where anyone could do a
|
||||
recompile of language files by just knowing an URL parameter.
|
||||
|
||||
hmtl/inc/
|
||||
translation.inc
|
||||
|
|
|
@ -209,14 +209,6 @@ function language_log($message, $loglevel=0){
|
|||
}
|
||||
}
|
||||
|
||||
// Determine whether to recompile language files
|
||||
$compile_languages = false;
|
||||
if (isset($_GET['compile_languages'])) $compile_languages = true;
|
||||
if ($compile_languages){
|
||||
buildLanguages($lang_language_dir,$lang_translations_dir, $lang_compiled_dir);
|
||||
buildLanguages($lang_language_dir,$lang_prj_translations_dir, $lang_compiled_dir, true);
|
||||
}
|
||||
|
||||
// Make a list of languages which the user prefers
|
||||
// (by looking at cookies and browser settings)
|
||||
// cookies have highest priority.
|
||||
|
|
Loading…
Reference in New Issue