Blob Blame History Raw
diff -up ./Bugzilla/Constants.pm.orig ./Bugzilla/Constants.pm
--- ./Bugzilla/Constants.pm.orig	2013-09-02 22:51:11.831245853 +0200
+++ ./Bugzilla/Constants.pm	2013-09-02 22:53:27.733416972 +0200
@@ -627,20 +627,20 @@ sub bz_locations {
         # make sure this still points to the CGIs.
         'cgi_path'    => $libpath,
         'templatedir' => "$libpath/template",
-        'template_cache' => "$datadir/template",
+        'template_cache' => "/var/lib/bugzilla/$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",
     };
 }