]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
New init function for plugins, supports errors reporting 659/head
authorArthurHoaro <arthur@hoa.ro>
Fri, 14 Oct 2016 11:22:58 +0000 (13:22 +0200)
committerArthurHoaro <arthur@hoa.ro>
Fri, 14 Oct 2016 11:22:58 +0000 (13:22 +0200)
All plugins can optionally add an init function named `pluginname_init()` which is called when the plugin is loaded.

This function is aware of the config, and can return initialization errors, which are displayed in the header template.

Note that the previous error system hack no longer work.


No differences found