From: Matthias Schmidt Date: Mon, 11 Nov 2019 17:26:47 +0000 (+0100) Subject: Fix devtools when project path contains symbolic link X-Git-Tag: 5.2.0_Beta_3~11 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ee28d9fac725d37733865273cd5aa5697c2ed0b8;p=GitHub%2FWoltLab%2FWCF.git Fix devtools when project path contains symbolic link --- diff --git a/wcfsetup/install/files/lib/system/devtools/package/DevtoolsPackageArchive.class.php b/wcfsetup/install/files/lib/system/devtools/package/DevtoolsPackageArchive.class.php index 1edd47a325..fd0c150ccd 100644 --- a/wcfsetup/install/files/lib/system/devtools/package/DevtoolsPackageArchive.class.php +++ b/wcfsetup/install/files/lib/system/devtools/package/DevtoolsPackageArchive.class.php @@ -31,7 +31,7 @@ class DevtoolsPackageArchive extends PackageArchive { * @inheritDoc */ public function openArchive() { - $projectDir = FileUtil::addTrailingSlash(dirname($this->packageXmlPath)); + $projectDir = FileUtil::addTrailingSlash(realpath(dirname($this->packageXmlPath))); $readFiles = DirectoryUtil::getInstance($projectDir)->getFiles( SORT_ASC,