X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fplatal%2Freview.inc.php;h=cf4112ae77336d16e8455e3000c7ce7297bab1b6;hb=242feff4237971e191f496517f42c99d90553685;hp=bdb9521ee6030122a8bf342d3e4ac3d6efe3977c;hpb=16703e553d2616c5a8c20a0ed11dd985552f8991;p=platal.git diff --git a/modules/platal/review.inc.php b/modules/platal/review.inc.php index bdb9521..cf4112a 100644 --- a/modules/platal/review.inc.php +++ b/modules/platal/review.inc.php @@ -1,6 +1,6 @@ assign('cacheExists', file_exists(dirname(__FILE__) . '/../../spool/wiki.d/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); } }