Use symlink path name (Fixes #58)

This commit is contained in:
Will Rossiter 2015-01-07 22:39:04 +13:00
parent 653a2c87f4
commit 7b1a37f430

View File

@ -164,7 +164,7 @@ class DocumentationManifest {
public function getRealPath($path) { public function getRealPath($path) {
if(substr($path, 0, 1) != '/') { if(substr($path, 0, 1) != '/') {
$path = realpath(Controller::join_links(BASE_PATH, $path)); $path = Controller::join_links(BASE_PATH, $path);
} }
return $path; return $path;