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/fulltext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/fulltext.php') diff --git a/inc/fulltext.php b/inc/fulltext.php index fd83a8c05..3131b7433 100644 --- a/inc/fulltext.php +++ b/inc/fulltext.php @@ -170,7 +170,7 @@ function ft_pageLookup($id,$pageonly=true){ continue; } } - if(!@file_exists(wikiFN($pages[$i]))){ + if(!page_exists($pages[$i])){ unset($pages[$i]); continue; } -- cgit v1.2.3