X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fwiki.engine.inc.php;h=bc481cdb30372c0168cbf33231cbffc6d0de8ecf;hb=46ca2891fefd1cb71f774a0a65173df392972d86;hp=b95b657ec3bdf231c85a9756d012988a5aecc618;hpb=3ecd0a882aebbb539b4b0e507a360e961cd51c63;p=platal.git diff --git a/include/wiki.engine.inc.php b/include/wiki.engine.inc.php index b95b657..bc481cd 100644 --- a/include/wiki.engine.inc.php +++ b/include/wiki.engine.inc.php @@ -1,6 +1,6 @@ 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, ""); @@ -85,7 +84,6 @@ if ($feed) { $wikiAll = preg_replace('!.*?\..*?\.(\d{4})\|(.*?)!u', '$2 (X$1)', $wikiAll); $wikiAll = str_replace('./', '' . $globals->baseurl . '/' . $platal->ns, $wikiAll); echo $wikiAll; - pl_clear_errors(); exit; } elseif (Env::v('action')) { $page->assign('pl_extra_header', substr($wikiAll, 0, $i));