execute(MSZ_DB_INIT); DB::init(DbTools::parse($dbConfig['dsn'])); DB::exec(MSZ_DB_INIT); $cfg = new DbConfig($db); Mailer::init($cfg->scopeTo('mail')); $msz = new MisuzuContext($db, $cfg);