From: x2003bruneau Date: Wed, 18 Apr 2007 21:29:41 +0000 (+0000) Subject: Should hide pmwiki internal warnings X-Git-Tag: xorg/0.9.14~72 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=c9653a577cf8df1652e439a875422801de779b6d;p=platal.git Should hide pmwiki internal warnings git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1718 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/include/wiki/engine.php b/include/wiki/engine.php index 0ecc3ad..ad5d9a1 100644 --- a/include/wiki/engine.php +++ b/include/wiki/engine.php @@ -80,6 +80,8 @@ if (Env::v('action') || !$cache_exists) { require_once($globals->spoolroot.'/wiki/pmwiki.php'); $wikiAll = ob_get_clean(); + pl_clear_errors(); + // the pmwiki skin we are using (almost empty) has these keywords: $i = strpos($wikiAll, ""); $j = strpos($wikiAll, "", $i);