diff options
author | ArthurHoaro <arthur@hoa.ro> | 2015-11-08 13:22:44 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2015-11-08 13:22:44 +0100 |
commit | 056107ab4eae0a4867cf8d55de77d31f8868b899 (patch) | |
tree | 2d92c7afc59721584f62cd2a07052e1f5a27c7f4 /plugins | |
parent | 89dfc37b0aeb865bc7298836b615e2ac5b6406ce (diff) | |
download | Shaarli-056107ab4eae0a4867cf8d55de77d31f8868b899.tar.gz Shaarli-056107ab4eae0a4867cf8d55de77d31f8868b899.tar.zst Shaarli-056107ab4eae0a4867cf8d55de77d31f8868b899.zip |
Handle errors raised by plugins in template. fixes #370
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/readityourself/readityourself.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/readityourself/readityourself.php b/plugins/readityourself/readityourself.php index ee7579c0..68efc543 100644 --- a/plugins/readityourself/readityourself.php +++ b/plugins/readityourself/readityourself.php | |||
@@ -14,9 +14,9 @@ if (is_file(PluginManager::$PLUGINS_PATH . '/readityourself/config.php')) { | |||
14 | } | 14 | } |
15 | 15 | ||
16 | if (!isset($GLOBALS['plugins']['READITYOUSELF_URL'])) { | 16 | if (!isset($GLOBALS['plugins']['READITYOUSELF_URL'])) { |
17 | $GLOBALS['plugins']['errors'][] = 'Wallabag plugin error: '. | 17 | $GLOBALS['plugins']['errors'][] = 'Readityourself plugin error: '. |
18 | 'Please define "$GLOBALS[\'plugins\'][\'WALLABAG_URL\']" '. | 18 | 'Please define "$GLOBALS[\'plugins\'][\'READITYOUSELF_URL\']" '. |
19 | 'in "plugins/wallabag/config.php" or in your Shaarli config.php file.'; | 19 | 'in "plugins/readityourself/config.php" or in your Shaarli config.php file.'; |
20 | } | 20 | } |
21 | 21 | ||
22 | /** | 22 | /** |