mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
Use symlink path name (Fixes #58)
This commit is contained in:
parent
653a2c87f4
commit
7b1a37f430
@ -164,7 +164,7 @@ class DocumentationManifest {
|
||||
|
||||
public function getRealPath($path) {
|
||||
if(substr($path, 0, 1) != '/') {
|
||||
$path = realpath(Controller::join_links(BASE_PATH, $path));
|
||||
$path = Controller::join_links(BASE_PATH, $path);
|
||||
}
|
||||
|
||||
return $path;
|
||||
|
Loading…
Reference in New Issue
Block a user