diff options
author | Chris Smith <chris@jalakai.co.uk> | 2007-09-30 04:10:40 +0200 |
---|---|---|
committer | Chris Smith <chris@jalakai.co.uk> | 2007-09-30 04:10:40 +0200 |
commit | 103c256a6f9161bec0a89e70eb600c84bcb51e50 (patch) | |
tree | 022946b4decc8d7297552d183280900042a5bd32 /inc/cache.php | |
parent | 25ec097b5237c0e0cffd5c26918898836516aff6 (diff) | |
download | dokuwiki-103c256a6f9161bec0a89e70eb600c84bcb51e50.tar.gz dokuwiki-103c256a6f9161bec0a89e70eb600c84bcb51e50.zip |
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.php | 2 |
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; } } } |