diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-06-25 02:17:52 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-06-25 02:17:52 +0200 |
commit | ed5c3b391a381d363e1b9070554d11c2b4881e3f (patch) | |
tree | 894226b3b41e7eab3b3790fb2951148f70fca8ae /Bugzilla/Extension.pm | |
parent | 92adf6a5440fc9cb85ee3a60c1ece6c01bcffbaa (diff) | |
download | bugzilla-ed5c3b391a381d363e1b9070554d11c2b4881e3f.tar.gz bugzilla-ed5c3b391a381d363e1b9070554d11c2b4881e3f.tar.xz |
Bug 457373: Refactor the permissions system in Bugzilla::Install::Filesystem
to use constants instead of local variables. Also, change the permissions
so that they are stricter in general, and work better under suexec.
This also fixes the problem that dependency graphs didn't work under
suexec, and adds a "web" directory by default to Extensions created with
extension/create.pl.
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'Bugzilla/Extension.pm')
-rw-r--r-- | Bugzilla/Extension.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Bugzilla/Extension.pm b/Bugzilla/Extension.pm index 17b889b98..c7688d90b 100644 --- a/Bugzilla/Extension.pm +++ b/Bugzilla/Extension.pm @@ -649,6 +649,17 @@ case your templates should probably be in a directory like F<extensions/Foo/template/en/default/page/foo/> so as not to conflict with other pages that other extensions might add. +=head2 CSS, JavaScript, and Images + +If you include CSS, JavaScript, and images in your extension that are +served directly to the user (that is, they're not read by a script and +then printed--they're just linked directly in your HTML), they should go +into the F<web/> subdirectory of your extension. + +So, for example, if you had a CSS file called F<style.css> and your +extension was called F<Foo>, your file would go into +F<extensions/Foo/web/style.css>. + =head2 Disabling Your Extension If you want your extension to be totally ignored by Bugzilla (it will |