- header('Content-Type: text/plain; charset=utf-8');
- echo 'ReadItYourself plugin error: '. PHP_EOL;
- echo ' Please copy "plugins/readityourself/config.php.dist" to config.php and configure your readityourself URL.'. PHP_EOL;
- echo ' You can also define "$GLOBALS[\'plugins\'][\'READITYOUSELF_URL\']" in your global Shaarli config.php file.';
- exit;
+ $GLOBALS['plugins']['errors'][] = 'Wallabag plugin error: '.
+ 'Please define "$GLOBALS[\'plugins\'][\'WALLABAG_URL\']" '.
+ 'in "plugins/wallabag/config.php" or in your Shaarli config.php file.';