diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Chart.pm | 1 | ||||
-rw-r--r-- | Bugzilla/Constants.pm | 1 | ||||
-rw-r--r-- | Bugzilla/Install/Filesystem.pm | 5 | ||||
-rw-r--r-- | Bugzilla/Series.pm | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/Bugzilla/Chart.pm b/Bugzilla/Chart.pm index 9701f7b32..a119e4b7c 100644 --- a/Bugzilla/Chart.pm +++ b/Bugzilla/Chart.pm @@ -22,7 +22,6 @@ # A. Karl Kornel <karl@kornel.name> use strict; -use lib "."; # This module represents a chart. # diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index f84ece006..827bb2d4b 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -445,6 +445,7 @@ sub bz_locations { # That means that if you modify these paths, they must be absolute paths. return { 'libpath' => $libpath, + 'ext_libpath' => "$libpath/lib", # If you put the libraries in a different location than the CGIs, # make sure this still points to the CGIs. 'cgi_path' => $libpath, diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm index 8387d0173..127fe0b58 100644 --- a/Bugzilla/Install/Filesystem.pm +++ b/Bugzilla/Install/Filesystem.pm @@ -62,6 +62,7 @@ sub FILESYSTEM { my $webdotdir = bz_locations()->{'webdotdir'}; my $templatedir = bz_locations()->{'templatedir'}; my $libdir = bz_locations()->{'libpath'}; + my $extlib = bz_locations()->{'ext_libpath'}; my $skinsdir = bz_locations()->{'skinsdir'}; my $ws_group = Bugzilla->localconfig->{'webservergroup'}; @@ -152,6 +153,8 @@ sub FILESYSTEM { dirs => $ws_dir_readable }, "$libdir/Bugzilla" => { files => $ws_readable, dirs => $ws_dir_readable }, + $extlib => { files => $ws_readable, + dirs => $ws_dir_readable }, $templatedir => { files => $ws_readable, dirs => $ws_dir_readable }, images => { files => $ws_readable, @@ -251,6 +254,8 @@ EOT contents => $ht_default_deny }, "$libdir/Bugzilla/.htaccess" => { perms => $ws_readable, contents => $ht_default_deny }, + "$extlib/.htaccess" => { perms => $ws_readable, + contents => $ht_default_deny }, "$templatedir/.htaccess" => { perms => $ws_readable, contents => $ht_default_deny }, diff --git a/Bugzilla/Series.pm b/Bugzilla/Series.pm index 877f69866..d6fd7a08a 100644 --- a/Bugzilla/Series.pm +++ b/Bugzilla/Series.pm @@ -21,7 +21,6 @@ # Lance Larsh <lance.larsh@oracle.com> use strict; -use lib "."; # This module implements a series - a set of data to be plotted on a chart. # |