/** * Applies a new webapp skeleton to the domain webapp. * * @param string $skeleton * @return bool */ public function setWebappSkeleton($skeleton) { if ($this->rootda->execute('UPDATE domains SET webappskeleton=' . $this->rootda->formatText($skeleton) . ' WHERE domainid=' . $this->rootda->formatText($this->domainid))) { return \Innomatic\Webapp\WebAppContainer::applyNewSkeleton($this->domainid, $skeleton); } else { return false; } }