X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fplatal%2Freview.inc.php;h=a9b3430d5d6b291544e9fba5aad759d9b062cd73;hb=be88a8f6d587f5e12518199771fc6cb3419ecf05;hp=96e6aab685428ccf1dd1b1577103920d84eec25c;hpb=08fa70684fd1332178cddb6b318151335fb4506c;p=platal.git diff --git a/modules/platal/review.inc.php b/modules/platal/review.inc.php index 96e6aab..a9b3430 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); } }