diff -up bugzilla-5.0.1/Bugzilla/Constants.pm.rw-paths bugzilla-5.0.1/Bugzilla/Constants.pm --- bugzilla-5.0.1/Bugzilla/Constants.pm.rw-paths 2015-09-10 21:36:29.000000000 +0300 +++ bugzilla-5.0.1/Bugzilla/Constants.pm 2015-09-28 19:20:45.347013271 +0300 @@ -670,7 +670,7 @@ sub _bz_locations { $datadir = "data"; } - $datadir = "$libpath/$datadir"; + $datadir = "/var/lib/bugzilla/$datadir"; # We have to return absolute paths for mod_perl. # That means that if you modify these paths, they must be absolute paths. return { @@ -682,11 +682,11 @@ sub _bz_locations { 'templatedir' => "$libpath/template", 'template_cache' => "$datadir/template", 'project' => $project, - 'localconfig' => "$libpath/$localconfig", + 'localconfig' => "/etc/bugzilla/$localconfig", 'datadir' => $datadir, 'attachdir' => "$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 @@ -695,7 +695,7 @@ sub _bz_locations { # The script should really generate these graphs directly... 'webdotdir' => "$datadir/webdot", 'extensionsdir' => "$libpath/extensions", - 'assetsdir' => "$datadir/assets", + 'assetsdir' => "$libpath/assets", }; }