diff --git a/checkin_notes b/checkin_notes index a8cdf42454..b0720078c2 100644 --- a/checkin_notes +++ b/checkin_notes @@ -4388,3 +4388,10 @@ Bernd 7 May 2009 - 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 diff --git a/html/inc/translation.inc b/html/inc/translation.inc index e09b228c67..38aede9ffd 100644 --- a/html/inc/translation.inc +++ b/html/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.