DEV: Add DISABLE_MINI_PROFILER development ENV variable

DEV: Add DISABLE_MINI_PROFILER development ENV variable

diff --git a/config/environments/development.rb b/config/environments/development.rb
index cd89923..8308623 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -52,7 +52,10 @@ Discourse::Application.configure do
     end
   end
 
-  config.load_mini_profiler = true
+  if !ENV["DISABLE_MINI_PROFILER"]
+    config.load_mini_profiler = true
+  end
+
   if hosts = ENV['DISCOURSE_DEV_HOSTS']
     config.hosts.concat(hosts.split(","))
   end

GitHub sha: 1acb2f75