[dokuwiki] Re: Syntax errors in plugins being suppressed?

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 20 May 2012 09:48:56 +0200

Hi,

> In inc/load.php, plugins are being loaded with @include, with the comment
> "include, but be silent. Maybe some other autoloader has an idea how to
> load this class."  But when there's a syntax error in that plugin class,
> it gets suppressed, and so is hard to track down.
>
> Is this the case?  Maybe I'm reading it wrongly.

Yeah that's the case and yes that's a bit problematic when you try to
debug a faulty plugin. I just pushed a patch to change this.

Andi

-- 
splitbrain.org
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: