From: Marcel Werk Date: Tue, 24 Jun 2014 19:29:08 +0000 (+0200) Subject: Added workaround for broken detection of obsolete use tags in zend studio X-Git-Tag: 2.1.0_Alpha_1~679 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=08101588db8a4585f9f3bd672753b54220b5f730;p=GitHub%2FWoltLab%2FWCF.git Added workaround for broken detection of obsolete use tags in zend studio --- diff --git a/wcfsetup/install/files/lib/data/application/Application.class.php b/wcfsetup/install/files/lib/data/application/Application.class.php index 9449baea8f..12576905b9 100644 --- a/wcfsetup/install/files/lib/data/application/Application.class.php +++ b/wcfsetup/install/files/lib/data/application/Application.class.php @@ -1,6 +1,7 @@ getConditionBuilder()->add('package.isApplication = ?', array(1)); $packageList->readObjects(); foreach ($packageList as $package) { - static::$directories[Package::getAbbreviation($package->package)] = FileUtil::addTrailingSlash(FileUtil::getRealPath(WCF_DIR.$package->packageDir)); + $abbr = Package::getAbbreviation($package->package); + static::$directories[$abbr] = FileUtil::addTrailingSlash(FileUtil::getRealPath(WCF_DIR.$package->packageDir)); } }