diff options
author | Gina Haeussge <osd@foosel.net> | 2008-04-08 20:55:30 +0200 |
---|---|---|
committer | Gina Haeussge <osd@foosel.net> | 2008-04-08 20:55:30 +0200 |
commit | 50fbebce669f92881bd56ae5d47c0c3d92d898aa (patch) | |
tree | 53bbe857371dcdcac1a3f7a331bcf52a2238c0aa | |
parent | 2ad12bd52fcf35dc327ffe96ebf4acf14b63a8e5 (diff) | |
download | rpg-50fbebce669f92881bd56ae5d47c0c3d92d898aa.tar.gz rpg-50fbebce669f92881bd56ae5d47c0c3d92d898aa.tar.bz2 |
FS#1370 - use / instead of DIRECTORY_SEPARATOR
darcs-hash:20080408185530-2b4f5-24a58bd27b6ef4697baa0ba995f8a38fc7ef0028.gz
-rw-r--r-- | inc/template.php | 4 |
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); |