Skip to content
Snippets Groups Projects
Commit 50fbebce authored by Gina Haeussge's avatar Gina Haeussge
Browse files

FS#1370 - use / instead of DIRECTORY_SEPARATOR

darcs-hash:20080408185530-2b4f5-24a58bd27b6ef4697baa0ba995f8a38fc7ef0028.gz
parent 2ad12bd5
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment