use wcf\system\request\RequestHandler;
use wcf\system\request\RouteHandler;
use wcf\system\SingletonFactory;
-use wcf\system\WCF;
use wcf\util\ArrayUtil;
use wcf\util\FileUtil;
use wcf\util\StringUtil;
*/
protected $cache;
- /**
- * true for multi-domain setups
- * @var bool
- */
- protected $isMultiDomain;
-
/**
* list of page URLs
* @var string[]
}
/**
- * Returns true if this is a multi-domain setup.
+ * Always returns false.
*
* @return bool
* @since 3.1
*/
public function isMultiDomainSetup()
{
- if ($this->isMultiDomain === null) {
- $this->isMultiDomain = false;
-
- $domainName = $this->getApplicationByID(1)->domainName;
- foreach ($this->getApplications() as $application) {
- if ($application->domainName !== $domainName) {
- $this->isMultiDomain = true;
- break;
- }
- }
- }
-
- return $this->isMultiDomain;
+ return false;
}
/**