From ee28d9fac725d37733865273cd5aa5697c2ed0b8 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 11 Nov 2019 18:26:47 +0100 Subject: [PATCH] Fix devtools when project path contains symbolic link --- .../system/devtools/package/DevtoolsPackageArchive.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1