X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fplatal%2Freview.inc.php;h=61112534591ae267cb6abec537a9df88379f04d6;hb=63f06a435ff8e9c058b1dee1eb97fff99606d490;hp=bdb9521ee6030122a8bf342d3e4ac3d6efe3977c;hpb=16703e553d2616c5a8c20a0ed11dd985552f8991;p=platal.git diff --git a/modules/platal/review.inc.php b/modules/platal/review.inc.php index bdb9521..6111253 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('cacheExists', wiki_work_dir() . '/cache_' . $dom . '.tpl'); $page->assign('article', $dom); } }