diff options
author | Filip Komar <filip@mageia.org> | 2014-05-01 19:05:33 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2014-05-01 19:05:33 +0000 |
commit | d8c37ef169e1ed18bbca29fafb6b78c597409721 (patch) | |
tree | 47eeaa1f4b4a45a301c1b021dc6d822e58dd781a /langs/report.php | |
parent | 8faab456a92c1eb1ed2592c9d981c6eeb3f06f13 (diff) | |
download | www-d8c37ef169e1ed18bbca29fafb6b78c597409721.tar www-d8c37ef169e1ed18bbca29fafb6b78c597409721.tar.gz www-d8c37ef169e1ed18bbca29fafb6b78c597409721.tar.bz2 www-d8c37ef169e1ed18bbca29fafb6b78c597409721.tar.xz www-d8c37ef169e1ed18bbca29fafb6b78c597409721.zip |
temporary disabling license and navigation as a workaround for timeouts of report
Diffstat (limited to 'langs/report.php')
-rw-r--r-- | langs/report.php | 8 |
1 files changed, 8 insertions, 0 deletions
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); |