1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-22 09:31:28 +02:00

[ticket/12683] Add progress bar to create_index

PHPBB3-12683
This commit is contained in:
rubencm
2021-03-24 18:50:29 +01:00
committed by Ruben Calvo
parent ce54ee5e6f
commit 0a24704b4f
15 changed files with 151 additions and 111 deletions

View File

@@ -206,6 +206,7 @@ function get_formatted_filesize($value, $string_only = true, $allowed_units = fa
*/
function still_on_time($extra_time = 15)
{
// TODO: Check the bug with this, it should be possible to restart the start time
static $max_execution_time, $start_time;
$current_time = microtime(true);