Преглед на файлове

restore blackfire condition to avoid critical logs

Olivier Massot преди 2 години
родител
ревизия
86b89d5c14
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      public/index.php

+ 2 - 2
public/index.php

@@ -42,10 +42,10 @@ $response->send();
 $kernel->terminate($request, $response);
 
 // If the header is set
-//if (isset($_SERVER['HTTP_BLACKFIRETRIGGER'])) {
+if (isset($_SERVER['HTTP_BLACKFIRETRIGGER'])) {
     // When runtime shuts down, let's finish the profiling session
     register_shutdown_function(function () use ($blackfire, $probe) {
         // See the PHP SDK documentation for using the $profile object
         $profile = $blackfire->endProbe($probe);
     });
-//}
+}