diff options
author | David Lawrence <dlawrence@mozilla.com> | 2011-03-31 23:38:47 -0400 |
---|---|---|
committer | David Lawrence <dlawrence@mozilla.com> | 2011-03-31 23:38:47 -0400 |
commit | 14151ea2f8fb33d4336afa161a0e8b8bed6e5daa (patch) | |
tree | cfc8220d3a81b92c69b17bb8543f1a024e1e4f94 /Bugzilla/Install/Filesystem.pm | |
parent | Bug 635764: Remove WCAG 2.0 violations from the bug list pages to make it (diff) | |
download | bugzilla-14151ea2f8fb33d4336afa161a0e8b8bed6e5daa.tar.gz bugzilla-14151ea2f8fb33d4336afa161a0e8b8bed6e5daa.tar.bz2 bugzilla-14151ea2f8fb33d4336afa161a0e8b8bed6e5daa.zip |
Bug 644334 - Add hook to Bugzilla::Install::Filesystem to allow extensions to create files/directories/htaccess
r/a=mkanat
Diffstat (limited to 'Bugzilla/Install/Filesystem.pm')
-rw-r--r-- | Bugzilla/Install/Filesystem.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm index 2845728bc..15106dab9 100644 --- a/Bugzilla/Install/Filesystem.pm +++ b/Bugzilla/Install/Filesystem.pm @@ -32,6 +32,7 @@ use Bugzilla::Error; use Bugzilla::Install::Localconfig; use Bugzilla::Install::Util qw(install_string); use Bugzilla::Util; +use Bugzilla::Hook; use File::Find; use File::Path; @@ -364,6 +365,15 @@ EOT }, ); + Bugzilla::Hook::process('install_filesystem', { + files => \%files, + create_dirs => \%create_dirs, + non_recurse_dirs => \%non_recurse_dirs, + recurse_dirs => \%recurse_dirs, + create_files => \%create_files, + htaccess => \%htaccess, + }); + my %all_files = (%create_files, %htaccess, %index_html, %files); my %all_dirs = (%create_dirs, %non_recurse_dirs); |