1 |
jpp |
1.1 |
diff -up ./Bugzilla/Constants.pm.rw-paths ./Bugzilla/Constants.pm |
2 |
|
|
--- ./Bugzilla/Constants.pm.rw-paths 2019-02-14 20:42:11.280492600 +0100 |
3 |
|
|
+++ ./Bugzilla/Constants.pm 2019-02-14 20:44:39.281581534 +0100 |
4 |
|
|
@@ -700,7 +700,7 @@ sub _bz_locations { |
5 |
|
|
$datadir = "data"; |
6 |
|
|
} |
7 |
|
|
|
8 |
|
|
- $datadir = "$libpath/$datadir"; |
9 |
|
|
+ $datadir = "/var/lib/bugzilla/$datadir"; |
10 |
|
|
|
11 |
|
|
# We have to return absolute paths for mod_perl. |
12 |
|
|
# That means that if you modify these paths, they must be absolute paths. |
13 |
|
|
@@ -714,11 +714,11 @@ sub _bz_locations { |
14 |
|
|
'templatedir' => "$libpath/template", |
15 |
|
|
'template_cache' => "$datadir/template", |
16 |
|
|
'project' => $project, |
17 |
|
|
- 'localconfig' => "$libpath/$localconfig", |
18 |
|
|
+ 'localconfig' => "/etc/bugzilla/$localconfig", |
19 |
|
|
'datadir' => $datadir, |
20 |
|
|
'attachdir' => "$datadir/attachments", |
21 |
|
|
'skinsdir' => "$libpath/skins", |
22 |
|
|
- 'graphsdir' => "$libpath/graphs", |
23 |
|
|
+ 'graphsdir' => "/var/lib/bugzilla/graphs", |
24 |
|
|
|
25 |
|
|
# $webdotdir must be in the web server's tree somewhere. Even if you use a |
26 |
|
|
# local dot, we output images to there. Also, if $webdotdir is |
27 |
|
|
@@ -728,7 +728,7 @@ sub _bz_locations { |
28 |
|
|
# The script should really generate these graphs directly... |
29 |
|
|
'webdotdir' => "$datadir/webdot", |
30 |
|
|
'extensionsdir' => "$libpath/extensions", |
31 |
|
|
- 'assetsdir' => "$datadir/assets", |
32 |
|
|
+ 'assetsdir' => "$libpath/assets", |
33 |
|
|
}; |
34 |
|
|
} |
35 |
|
|
|