diff options
author | Andreas Gohr <andi@splitbrain.org> | 2024-11-22 12:29:04 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2024-12-04 10:51:14 +0100 |
commit | e8fd67e9f75f553b0de2ec449a21ee1e03c4c43c (patch) | |
tree | 267f428c047897336a811ade980bc58ac70bf980 /lib/plugins/extension | |
parent | b3a16c4ac100c0a26ceba7db38e84ae3ce031ef5 (diff) | |
download | dokuwiki-e8fd67e9f75f553b0de2ec449a21ee1e03c4c43c.tar.gz dokuwiki-e8fd67e9f75f553b0de2ec449a21ee1e03c4c43c.zip |
Extension Manager: fullpath instead of realpath
This should fix backslash problems on Windows and the various additional
checks and ommissions our implementation does make more sense here
anyway.
Diffstat (limited to 'lib/plugins/extension')
-rw-r--r-- | lib/plugins/extension/Extension.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/extension/Extension.php b/lib/plugins/extension/Extension.php index 2904e7d26..567c2d02d 100644 --- a/lib/plugins/extension/Extension.php +++ b/lib/plugins/extension/Extension.php @@ -80,7 +80,7 @@ class Extension protected function initFromDirectory($dir, $type = null, $base = null) { if (!is_dir($dir)) throw new RuntimeException('Directory not found: ' . $dir); - $this->currentDir = realpath($dir); + $this->currentDir = fullpath($dir); if ($type === null || $type === self::TYPE_TEMPLATE) { if ( |