From d8c37ef169e1ed18bbca29fafb6b78c597409721 Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Thu, 1 May 2014 19:05:33 +0000 Subject: temporary disabling license and navigation as a workaround for timeouts of report --- langs/report.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/langs/report.php b/langs/report.php index 103bf7a12..b04d6363f 100644 --- a/langs/report.php +++ b/langs/report.php @@ -49,6 +49,14 @@ $restore_resources = TRUE; } else { $enFiles = array_merge(array('../_nav/langs/en.pot'), get_lang_references('*.lang'), get_lang_references('*.pot')); // added navigation file +/* START OF A WORKAROUND FOR TIMEOUTS */ // temporary disabling license and navigation + foreach($enFiles as $enFile) { + if($enFile != 'en/about/license.pot' && $enFile != '../_nav/langs/en.pot') { + $enFiles_tmp[] = $enFile; + } + } + $enFiles = $enFiles_tmp; +/* END OF A WORKAROUND FOR TIMEOUTS */ sort($enFiles); } $num_of_enFiles = count($enFiles); -- cgit v1.2.1