Ticket #149 (closed defect: fixed)
Plugins can't easily get a sub-directory URL
| Reported by: | michaeltwofish | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.4 |
| Component: | Habari Core Software | Version: | SVN |
| Keywords: | Cc: |
Description
It is not straightforward for a plugin to refer to a sub-directory as a URL. For example, a plugin might integrate an external javascript system into Habari, it needs to link to the javascript.
Attached is a patch to Pluggable that allows a plugin to call $this->get_url(). It also provides a generic helper function Url::get_from_filesystem().
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
