public function asArgument() { $this->setManagers(\Sylma::getManagers()); $args = \Sylma::getSettings(); //$args->set('debug/enable', false); $result = parent::asArgument(); $this->restoreSylma(); $init = $this->getManager('init'); $init->setHeaderContent($init->getMime('html')); //$args->set('debug/enable', true); \Sylma::setSettings($args); return $result; }
public function loadSettings($sServer, $sSylma) { $result = parent::loadSettings($sServer, $sSylma); \Sylma::setSettings($result); return $result; }