summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php
index 57023a827..5544dc02e 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -880,9 +880,9 @@ function tpl_pageinfo(){
$fn = $INFO['filepath'];
if(!$conf['fullpath']){
if($REV){
- $fn = str_replace(fullpath($conf['olddir']).DIRECTORY_SEPARATOR,'',$fn);
+ $fn = str_replace(fullpath($conf['olddir']).'/','',$fn);
}else{
- $fn = str_replace(fullpath($conf['datadir']).DIRECTORY_SEPARATOR,'',$fn);
+ $fn = str_replace(fullpath($conf['datadir']).'/','',$fn);
}
}
$fn = utf8_decodeFN($fn);