/[smecontribs]/rpms/bugzilla/contribs10/bugzilla-rw-paths.patch
ViewVC logotype

Contents of /rpms/bugzilla/contribs10/bugzilla-rw-paths.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon May 23 19:29:51 2022 UTC (2 years, 6 months ago) by jpp
Branch: MAIN
CVS Tags: bugzilla-5_0_6-14_fc36, bugzilla-5_0_6-16_el7_sme, bugzilla-5_0_6-15_el7_sme, HEAD
Error occurred while calculating annotation data.
Initial import

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed