summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-10-19 13:46:10 +0200
committermkanat%bugzilla.org <>2007-10-19 13:46:10 +0200
commit415e32d463bbb881d991d886ddba6f859669c098 (patch)
treefd97f6e5bd6f2333f9c9dceda58f5ba226d3bc4a /Bugzilla/Install
parentc6ede85fc67cefea141519c2b767cdcc600995ee (diff)
downloadbugzilla-415e32d463bbb881d991d886ddba6f859669c098.tar.gz
bugzilla-415e32d463bbb881d991d886ddba6f859669c098.tar.xz
Bug 399954: Make Bugzilla able to hold its dependencies in a local directory
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/Filesystem.pm5
1 files changed, 5 insertions, 0 deletions
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 },