From: x2000habouzit Date: Wed, 19 Oct 2005 20:50:24 +0000 (+0000) Subject: coding rules X-Git-Tag: xorg/0.9.9~87 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=898e29e4d6774b18549d7660776a480040a1c1e9;p=platal.git coding rules git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@120 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/include/pmwiki.php b/include/pmwiki.php index 8b973c8..480875b 100644 --- a/include/pmwiki.php +++ b/include/pmwiki.php @@ -23,18 +23,18 @@ // as we need to include lots of globals vars in the external wiki if ($globals->wiki->wikidir) { - ob_start(); - require_once($globals->spoolroot.$globals->wiki->wikidir.'/pmwiki.php'); + ob_start(); + require_once($globals->spoolroot.$globals->wiki->wikidir.'/pmwiki.php'); - $wikiAll = ob_get_clean(); - $i = strpos($wikiAll, ""); - $j = strpos($wikiAll, "", $i); + $wikiAll = ob_get_clean(); + $i = strpos($wikiAll, ""); + $j = strpos($wikiAll, "", $i); - $wikiHeaders = substr($wikiAll, 0, $i); + $wikiHeaders = substr($wikiAll, 0, $i); - $wikiMenu = substr($wikiAll, $i, $j-$i); + $wikiMenu = substr($wikiAll, $i, $j-$i); - $wikiTxt = substr($wikiAll, $j); + $wikiTxt = substr($wikiAll, $j); }