Example #1
0
 /**
  * @throws \Exception
  */
 private function loadData()
 {
     $modules = new \Cunity\Core\Models\Db\Table\Modules();
     $installedModules = $modules->getModules()->toArray();
     $config = \Cunity\Core\Cunity::get("config");
     $this->assignments['smtp_check'] = $config->mail->smtp_check;
     $this->assignments['modules'] = $installedModules;
 }
Example #2
0
 /**
  *
  */
 private function loadData()
 {
     $modules = new \Cunity\Core\Models\Db\Table\Modules();
     $installedModules = $modules->getModules()->toArray();
     $this->assignments['installedModules'] = $installedModules;
 }