public function saveGmapsKey() { $gmapskey = $this->param("key", ""); $this->app->db->setKey("cockpit/settings", "cockpit.gmaps.key", (string) $gmapskey); return ["success" => true]; }