From 103c256a6f9161bec0a89e70eb600c84bcb51e50 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Sun, 30 Sep 2007 04:10:40 +0200 Subject: add page_exists function (inc/pageutils.php) bool page_exists($id, $rev darcs-hash:20070930021040-d26fc-e3847bfdd20a36154685262eca94211cfd461e83.gz --- inc/html.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'inc/html.php') diff --git a/inc/html.php b/inc/html.php index 74ec1cd64..3c7f8e2b1 100644 --- a/inc/html.php +++ b/inc/html.php @@ -446,9 +446,7 @@ function html_revisions($first=0){ foreach($revisions as $rev){ $date = date($conf['dformat'],$rev); $info = getRevisionInfo($ID,$rev,true); - $exists = @file_exists(wikiFN($ID,$rev)); - - + $exists = page_exists($ID,$rev); print ($info['type']===DOKU_CHANGE_TYPE_MINOR_EDIT) ? '
  • ' : '
  • '; print '
    '; -- cgit v1.2.3