summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEkta Parmar <ektap.098@gmail.com>2016-10-03 17:26:10 +0200
committerDylan William Hardison <dylan@hardison.net>2016-10-03 17:26:29 +0200
commit63f79c626077c29a0134a2e3a97d6fe0665e7200 (patch)
treecf06a2970058f249984fdb3e52f7f9442dbd4f51
parent860b0775639d031f0ea954061fe69934177eac81 (diff)
downloadbugzilla-63f79c626077c29a0134a2e3a97d6fe0665e7200.tar.gz
bugzilla-63f79c626077c29a0134a2e3a97d6fe0665e7200.tar.xz
Bug 1305468 - Don't concatenate assets when PLACK_ENV ne development
r=dylan
-rw-r--r--Bugzilla/Constants.pm2
1 files changed, 1 insertions, 1 deletions
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