diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-10-14 13:22:58 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-11-05 14:30:13 +0100 |
commit | baec9c402873a716497b591b9756bf5b2c46ed9b (patch) | |
tree | 33ae9c12bdcce378ca08973f553df15a50c00e8c /inc | |
parent | b3c039b02f9608802d0ba2cf5b5742caa3b9d430 (diff) | |
download | Shaarli-baec9c402873a716497b591b9756bf5b2c46ed9b.tar.gz Shaarli-baec9c402873a716497b591b9756bf5b2c46ed9b.tar.zst Shaarli-baec9c402873a716497b591b9756bf5b2c46ed9b.zip |
New init function for plugins, supports errors reporting
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.
Diffstat (limited to 'inc')
0 files changed, 0 insertions, 0 deletions