Пример #1
0
 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();
 }
Пример #2
0
 public function init()
 {
     parent::init();
     $this->initDao();
 }