X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fplatal%2Freview.inc.php;h=cf4112ae77336d16e8455e3000c7ce7297bab1b6;hb=45ea6160465aeba0aa780e49c12272819dedffd1;hp=61112534591ae267cb6abec537a9df88379f04d6;hpb=efccf7ed77120bf8b15ac54d4d447e842f032884;p=platal.git diff --git a/modules/platal/review.inc.php b/modules/platal/review.inc.php index 6111253..cf4112a 100644 --- a/modules/platal/review.inc.php +++ b/modules/platal/review.inc.php @@ -1,6 +1,6 @@ assign('cacheExists', wiki_work_dir() . '/cache_' . $dom . '.tpl'); - $page->assign('article', $dom); + $wp = new PlWikiPage((@$GLOBALS['IS_XNET_SITE'] ? 'ReviewXnet' : 'Review') . '.' . ucfirst($id)); + $wp->buildCache(); + $page->assign('cacheExists', $wp->cacheFilename()); + $page->assign('article', $wp->name); } }