Emmanuel Seyman 193fca4
--- bugzilla-3.6.6/Bugzilla/Constants.pm	2011-08-05 15:42:01.768441860 +0200
Emmanuel Seyman 193fca4
+++ bugzilla-3.6.6-rw/Bugzilla/Constants.pm	2011-08-05 15:44:50.342628808 +0200
Emmanuel Seyman 193fca4
@@ -539,18 +539,18 @@ sub bz_locations {
John Berninger f2480c2
         'cgi_path'    => $libpath,
John Berninger f2480c2
         'templatedir' => "$libpath/template",
John Berninger f2480c2
         'project'     => $project,
John Berninger f2480c2
-        'localconfig' => "$libpath/$localconfig",
John Berninger f2480c2
-        'datadir'     => "$libpath/$datadir",
John Berninger f2480c2
-        'attachdir'   => "$libpath/$datadir/attachments",
John Berninger f2480c2
+        'localconfig' => "/etc/bugzilla/$localconfig",
John Berninger f2480c2
+        'datadir'     => "/var/lib/bugzilla/$datadir",
John Berninger f2480c2
+        'attachdir'   => "/var/lib/bugzilla/$datadir/attachments",
John Berninger 3a5a0f6
         'skinsdir'    => "$libpath/skins",
Emmanuel Seyman 193fca4
-        'graphsdir'   => "$libpath/graphs",
Emmanuel Seyman 193fca4
+        'graphsdir'   => "/var/lib/bugzilla/graphs",
73ffa9f
         # $webdotdir must be in the web server's tree somewhere. Even if you use a 
Emmanuel Seyman 193fca4
         # local dot, we output images to there. Also, if $webdotdir is 
Emmanuel Seyman 193fca4
         # not relative to the bugzilla root directory, you'll need to 
John Berninger f2480c2
         # change showdependencygraph.cgi to set image_url to the correct 
John Berninger f2480c2
         # location.
John Berninger f2480c2
         # The script should really generate these graphs directly...
John Berninger f2480c2
-        'webdotdir'   => "$libpath/$datadir/webdot",
John Berninger f2480c2
+        'webdotdir'   => "/var/lib/bugzilla/$datadir/webdot",
103aa2c
         'extensionsdir' => "$libpath/extensions",
John Berninger f2480c2
     };
John Berninger f2480c2
 }