bugzilla/bugzilla-rw-paths.patch
Emmanuel Seyman 0bf81d266f Update to 4.2
2012-02-26 23:48:13 +01:00

26 lines
1.3 KiB
Diff

--- bugzilla-4.2/Bugzilla/Constants.pm 2012-02-26 22:39:30.161462858 +0100
+++ bugzilla-4.2-rw/Bugzilla/Constants.pm 2012-02-26 22:41:55.185107179 +0100
@@ -629,18 +629,18 @@
'templatedir' => "$libpath/template",
'template_cache' => "$datadir/template",
'project' => $project,
- 'localconfig' => "$libpath/$localconfig",
- 'datadir' => $datadir,
- 'attachdir' => "$datadir/attachments",
+ 'localconfig' => "/etc/bugzilla/localconfig",
+ 'datadir' => "/var/lib/bugzilla/$datadir",
+ 'attachdir' => "/var/lib/bugzilla/$datadir/attachments",
'skinsdir' => "$libpath/skins",
- 'graphsdir' => "$libpath/graphs",
+ 'graphsdir' => "/var/lib/bugzilla/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",
+ 'webdotdir' => "/var/lib/bugzilla/$datadir/webdot",
'extensionsdir' => "$libpath/extensions",
};
}