Skip to content
Snippets Groups Projects
Commit 45e147cc authored by Andreas Gohr's avatar Andreas Gohr
Browse files

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
parent 542a5ea6
No related branches found
No related tags found
No related merge requests found
......@@ -818,6 +818,9 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$this->doc .= '<li><div class="li">';
$this->doc .= '<em>'.$lang['rssfailed'].'</em>';
$this->externallink($url);
if($conf['allowdebug']){
$this->doc .= '<!--'.hsc($feed->error).'-->';
}
$this->doc .= '</div></li>';
}
$this->doc .= '</ul>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment