From 63f79c626077c29a0134a2e3a97d6fe0665e7200 Mon Sep 17 00:00:00 2001 From: Ekta Parmar Date: Mon, 3 Oct 2016 11:26:10 -0400 Subject: Bug 1305468 - Don't concatenate assets when PLACK_ENV ne development r=dylan --- Bugzilla/Constants.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 314e8e38c..2e3f339a7 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -234,7 +234,7 @@ use constant CAN_HAS_FEATURE => eval { # When true CSS and JavaScript assets will be concatanted and minified at # run-time, to reduce the number of requests required to render a page. # Setting this to a false value can help debugging. -use constant CONCATENATE_ASSETS => 1; +use constant CONCATENATE_ASSETS => $ENV{PLACK_ENV} ? $ENV{PLACK_ENV} ne "development" : 1; # These are unique values that are unlikely to match a string or a number, # to be used in criteria for match() functions and other things. They start -- cgit v1.2.3-24-g4f1b