/** * Is PHP enabled? * * @return bool */ public function getPHPEnabled() { if ($this->getRedirectUrl() != '') { return false; } if ($this->isSubDomain()) { $enabled = $this->subdomain->getParsePhp(); } else { $enabled = $this->domain->getParsePhp(); } return $enabled; }