public function init() { // Screenshot activ? if (Registry::getConfig()->screens->activ == 'yes' || Registry::getConfig()->screens->activ === true || Registry::getConfig()->screens->activ == '1') { // Aktiv $this->active = true; $this->screenshotTool = SBScreenshot::factory(Registry::getConfig()->screens->type, Registry::getConfig()->screens); } else { // Nicht activ $this->active = false; } parent::init(); }
public function init() { parent::init(); $this->initDao(); }