Open
Bug 1290995
Opened 9 years ago
Updated 9 years ago
Add early hook for PSGI manipulations
Categories
(Bugzilla :: Bugzilla-General, enhancement, P3)
Tracking
()
NEW
Bugzilla 6.0
People
(Reporter: dylan, Unassigned)
Details
It would be nice for extensions to be able to add paths to the $static_paths in app.psgi.
Around https://github.com/bugzilla/bugzilla/blob/master/app.psgi#L41,
we should call:
Bugzilla::Hook::process('psgi_setup') and pass in the list of static paths
as an array reference so that the new psgi_setup hook can modify it.
It should be possible to run other plack middleware from this hook too, which may prove very useful.
| Reporter | ||
Updated•9 years ago
|
Severity: normal → enhancement
You need to log in
before you can comment on or make changes to this bug.
Description
•