summaryrefslogtreecommitdiff
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 81913a8e7..7392b5413 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -635,7 +635,7 @@ function tpl_youarehere($sep=' » '){
$page = $part.$parts[$i];
if($page == $conf['start']) return;
echo $sep;
- if(file_exists(wikiFN($page))){
+ if(@file_exists(wikiFN($page))){
$title = p_get_first_heading($page);
if(!$title) $title = $parts[$i];
tpl_link(wl($page),$title,'title="'.$page.'"');