diff --git a/inc/common.php b/inc/common.php index 68af14e50b6d558995c4ee500937154bc9d51ed3..c7ab7c99a198084135f36920419d4ae8841ce030 100644 --- a/inc/common.php +++ b/inc/common.php @@ -213,7 +213,7 @@ function pageinfo() { } $info['locked'] = checklock($ID); - $info['filepath'] = fullpath(wikiFN($ID)); + $info['filepath'] = wikiFN($ID); $info['exists'] = file_exists($info['filepath']); $info['currentrev'] = @filemtime($info['filepath']); if($REV) { @@ -227,7 +227,7 @@ function pageinfo() { msg($lang['nosecedit'], 0); } else { //really use old revision - $info['filepath'] = fullpath(wikiFN($ID, $REV)); + $info['filepath'] = wikiFN($ID, $REV); $info['exists'] = file_exists($info['filepath']); } }