05eb41c63af8ccd369f76b022d3cf1faab5543c2
braney
  Thu May 26 16:25:07 2022 -0700
changes to support curated hubs

diff --git src/hg/inc/web.h src/hg/inc/web.h
index a0167a5..3d03772 100644
--- src/hg/inc/web.h
+++ src/hg/inc/web.h
@@ -1,26 +1,28 @@
 /* web.c - some functions to output HTML code */
 
 /* Copyright (C) 2014 The Regents of the University of California 
  * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
 
 #ifndef WEB_H
 #define WEB_H
 
 #include "cart.h"
 #include "dbDb.h"
 
+extern char *dbOveride;  // communicate with the web front end if we load a hub to support db cgivar. */
+
 void webSetStyle(char *style);
 /* set a style to add to the header */
 
 void webStartText();
 /* output the head for a text page */
 
 void webStart(struct cart *theCart, char *db, char* format,...)
 /* output a CGI and HTML header with the given title in printf format */
 #if defined(__GNUC__)
 __attribute__((format(printf, 3, 4)))
 #endif
 ;
 
 void webStartHeader(struct cart *theCart, char *db, char *header, char* format,...)
 /* output a CGI and HTML header with the given title in printf format */