aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index 5879d98db..d84aad8db 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -812,7 +812,7 @@ function tpl_youarehere($sep=' » '){
$page = $part.$parts[$i];
if($page == $conf['start']) return;
echo $sep;
- if(@file_exists(wikiFN($page))){
+ if(page_exists($page)){
$title = p_get_first_heading($page);
if(!$title) $title = $parts[$i];
tpl_link(wl($page),hsc($title),'title="'.$page.'"');