summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Constants.pm
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-07-21 06:53:46 +0200
committerByron Jones <glob@mozilla.com>2015-07-21 06:53:46 +0200
commitdc8e2b4c3e3a9a14c65f25ba59b4415cdf00c7e2 (patch)
treef045e67cce390f18afda02c747853c8583226f80 /Bugzilla/Constants.pm
parent5af060abe8347ccac35038d40577fd09c07f64c9 (diff)
downloadbugzilla-dc8e2b4c3e3a9a14c65f25ba59b4415cdf00c7e2.tar.gz
bugzilla-dc8e2b4c3e3a9a14c65f25ba59b4415cdf00c7e2.tar.xz
Bug 1184001 - deliver error report to sentry via cron instead of immediately
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r--Bugzilla/Constants.pm36
1 files changed, 19 insertions, 17 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index 61a33ae02..c6359be60 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -697,28 +697,30 @@ sub _bz_locations {
# We have to return absolute paths for mod_perl.
# That means that if you modify these paths, they must be absolute paths.
return {
- 'libpath' => $libpath,
- 'ext_libpath' => "$libpath/lib",
+ 'libpath' => $libpath,
+ 'ext_libpath' => "$libpath/lib",
# If you put the libraries in a different location than the CGIs,
# make sure this still points to the CGIs.
- 'cgi_path' => $libpath,
- 'templatedir' => "$libpath/template",
+ 'cgi_path' => $libpath,
+ 'templatedir' => "$libpath/template",
'template_cache' => "$libpath/template_cache",
- 'project' => $project,
- 'localconfig' => "$libpath/$localconfig",
- 'datadir' => $datadir,
- 'attachdir' => "$datadir/attachments",
- 'skinsdir' => "$libpath/skins",
- 'graphsdir' => "$libpath/graphs",
- # $webdotdir must be in the web server's tree somewhere. Even if you use a
- # local dot, we output images to there. Also, if $webdotdir is
- # not relative to the bugzilla root directory, you'll need to
- # change showdependencygraph.cgi to set image_url to the correct
+ 'project' => $project,
+ 'localconfig' => "$libpath/$localconfig",
+ 'datadir' => $datadir,
+ 'attachdir' => "$datadir/attachments",
+ 'skinsdir' => "$libpath/skins",
+ 'graphsdir' => "$libpath/graphs",
+ # $webdotdir must be in the web server's tree somewhere. Even if you use a
+ # local dot, we output images to there. Also, if $webdotdir is
+ # not relative to the bugzilla root directory, you'll need to
+ # change showdependencygraph.cgi to set image_url to the correct
# location.
# The script should really generate these graphs directly...
- 'webdotdir' => "$datadir/webdot",
- 'extensionsdir' => "$libpath/extensions",
- 'assetsdir' => "$datadir/assets",
+ 'webdotdir' => "$datadir/webdot",
+ 'extensionsdir' => "$libpath/extensions",
+ 'assetsdir' => "$datadir/assets",
+ # error_reports store error/warnings destined for sentry
+ 'error_reports' => "$libpath/error_reports",
};
}