From 45e147cc5cc1cc1c72e6277041198e36d5cfcce8 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 18 Jun 2007 19:29:04 +0200 Subject: Verbose errors for failed feed fetching When the allowdebug option is set, the error message generated by the feed parser will be put in an HTML comment. darcs-hash:20070618172904-7ad00-729b99d76df499890ded3f43b708196de9ff8cbe.gz --- inc/parser/xhtml.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc/parser/xhtml.php') diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 3efb542de..c1a07d24f 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -818,6 +818,9 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $this->doc .= '
  • '; $this->doc .= ''.$lang['rssfailed'].''; $this->externallink($url); + if($conf['allowdebug']){ + $this->doc .= ''; + } $this->doc .= '
  • '; } $this->doc .= ''; -- cgit v1.2.3