summaryrefslogtreecommitdiff
path: root/inc/cache.php
diff options
context:
space:
mode:
authorChris Smith <chris@jalakai.co.uk>2007-09-30 04:10:40 +0200
committerChris Smith <chris@jalakai.co.uk>2007-09-30 04:10:40 +0200
commit103c256a6f9161bec0a89e70eb600c84bcb51e50 (patch)
tree022946b4decc8d7297552d183280900042a5bd32 /inc/cache.php
parent25ec097b5237c0e0cffd5c26918898836516aff6 (diff)
downloadrpg-103c256a6f9161bec0a89e70eb600c84bcb51e50.tar.gz
rpg-103c256a6f9161bec0a89e70eb600c84bcb51e50.tar.bz2
add page_exists function (inc/pageutils.php)
bool page_exists($id, $rev darcs-hash:20070930021040-d26fc-e3847bfdd20a36154685262eca94211cfd461e83.gz
Diffstat (limited to 'inc/cache.php')
-rw-r--r--inc/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/cache.php b/inc/cache.php
index 2c43da5ff..3c5dc058e 100644
--- a/inc/cache.php
+++ b/inc/cache.php
@@ -233,7 +233,7 @@ class cache_renderer extends cache_parser {
if (!empty($links)) {
foreach ($links as $id => $exists) {
- if ($exists != @file_exists(wikiFN($id,'',false))) return false;
+ if ($exists != page_exists($id,'',false)) return false;
}
}
}