db->query("SELECT 1")); return $this->json([ 'http' => true, 'database' => (bool) count($results->resultRows); ]); } }