From ed5c3b391a381d363e1b9070554d11c2b4881e3f Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 24 Jun 2010 17:17:52 -0700 Subject: 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) --- Bugzilla/Extension.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Bugzilla/Extension.pm') 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 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 subdirectory of your extension. + +So, for example, if you had a CSS file called F and your +extension was called F, your file would go into +F. + =head2 Disabling Your Extension If you want your extension to be totally ignored by Bugzilla (it will -- cgit v1.2.3-24-g4f1b