diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-07-03 21:38:38 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-07-07 00:19:20 +0200 |
commit | 6f68125893590fc9de60185f5535bae12adbcb54 (patch) | |
tree | 6d7b2b7885a750826655cf3896d7fd72791623b3 /Bugzilla/Constants.pm | |
parent | e3e2c7c0273499f832ee692ca63620cd8aa8bda1 (diff) | |
download | bugzilla-6f68125893590fc9de60185f5535bae12adbcb54.tar.gz bugzilla-6f68125893590fc9de60185f5535bae12adbcb54.tar.xz |
Bug 1377232 - Revert code from bug 1361890
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 4cb838f94..9c8f39b4a 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -26,6 +26,8 @@ use Memoize; bz_locations + CONCATENATE_ASSETS + IS_NULL NOT_NULL @@ -217,6 +219,11 @@ use constant REST_DOC => "http://www.bugzilla.org/docs/tip/en/html/api/"; use constant REMOTE_FILE => 'http://updates.bugzilla.org/bugzilla-update.xml'; use constant LOCAL_FILE => 'bugzilla-update.xml'; # Relative to datadir. +# 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; + # 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 # and end with spaces because most Bugzilla stuff has trim() called on it, @@ -695,7 +702,7 @@ sub _bz_locations { # The script should really generate these graphs directly... 'webdotdir' => "$datadir/webdot", 'extensionsdir' => "$libpath/extensions", - 'assetsdir' => "$libpath/assets", + 'assetsdir' => "$datadir/assets", # error_reports store error/warnings destined for sentry 'error_reports' => "$libpath/error_reports", }; |