Emmanuel Seyman 3db463a
--- bugzilla-3.4/Bugzilla/Constants.pm.orig	2010-11-03 01:47:33.000000000 +0100
Emmanuel Seyman 3db463a
+++ bugzilla-3.4-rw/Bugzilla/Constants.pm	2010-11-04 00:00:51.000000000 +0100
Emmanuel Seyman 3db463a
@@ -511,9 +511,9 @@
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 3db463a
         'graphsdir'   => "$libpath/graphs",
73ffa9f
         # $webdotdir must be in the web server's tree somewhere. Even if you use a 
Emmanuel Seyman 3db463a
@@ -522,7 +522,7 @@
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
 }