X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fplatal%2Freview.inc.php;h=cf4112ae77336d16e8455e3000c7ce7297bab1b6;hb=242feff4237971e191f496517f42c99d90553685;hp=61112534591ae267cb6abec537a9df88379f04d6;hpb=7f12e3b4113791f3372f11572a205925d7bb6b97;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); } }