X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fwiki.engine.inc.php;h=b7f323b006c7e8b2cebfccddd910603b7bc0c523;hb=refs%2Fheads%2Fcore%2Fmaster;hp=12790eabf2cf308beac012a7f6e02d196e383ec5;hpb=e92ecb8c24421ca1dd4f87ad7478d0d8277e1f60;p=platal.git
diff --git a/include/wiki.engine.inc.php b/include/wiki.engine.inc.php
index 12790ea..b7f323b 100644
--- a/include/wiki.engine.inc.php
+++ b/include/wiki.engine.inc.php
@@ -68,7 +68,6 @@ 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, "");
@@ -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));
@@ -133,5 +131,5 @@ if (!Env::v('action')) {
$page->run();
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
?>