db::connect($params = null)

(Re)connect the database

  • $params (mixed)
    Pass array() to use the default params from the config
  • return (object)