diff --git a/index.php b/index.php index 11b41c9a..8be28854 100644 --- a/index.php +++ b/index.php @@ -152,7 +152,7 @@ try { $_tracer->end(); if (TRACE_FILE) { - if ((microtime(true) - $_shm_load_start) > TRACE_THRESHOLD) { + if ((microtime(true) - $_shm_load_start) > TRACE_THRESHOLD && $_SERVER["REQUEST_URI"] != "/upload") { $_tracer->flush(TRACE_FILE); } }