X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fwiki.engine.inc.php;h=bc481cdb30372c0168cbf33231cbffc6d0de8ecf;hb=c4bcb1697481d3a6549f228739f17dc081641491;hp=26ea365ac6333361fdf8d4437b9ad7456b3987b6;hpb=fed2b6d36f59c4542bd8d6fc0a137342c785d06b;p=platal.git diff --git a/include/wiki.engine.inc.php b/include/wiki.engine.inc.php index 26ea365..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));