c9cff716524000d6b44e520bbfe0026685fdbbb0
max
  Thu Dec 15 14:35:38 2016 -0800
making the gbic mirrors identify itself to phoneHome with a distinct
string, refs #14399

diff --git src/hg/lib/hdb.c src/hg/lib/hdb.c
index 1f710e8..8da9231 100644
--- src/hg/lib/hdb.c
+++ src/hg/lib/hdb.c
@@ -3300,30 +3300,36 @@
 }
 
 boolean hIsBetaHost()
 /* Return TRUE if this is running on beta (QA) web-server.
  * Use sparingly as behavior on beta should be as close to RR as possible. */
 {
 return hHostHasPrefix("hgwbeta");
 }
 
 boolean hIsBrowserbox()
 /* Return TRUE if this is the browserbox virtual machine */
 {
 return (cfgOptionBooleanDefault("isGbib", FALSE));
 }
 
+boolean hIsGbic()
+/* Return TRUE if this mirror has been installed by the installation script */
+{
+return (cfgOptionBooleanDefault("isGbic", FALSE));
+}
+
 boolean hIsPreviewHost()
 /* Return TRUE if this is running on preview web-server.  The preview
  * server is a mirror of the development server provided for public
  * early access. */
 {
 if (cfgOption("test.preview"))
     return TRUE;
 return hHostHasPrefix("genome-preview") || hHostHasPrefix("hgwalpha");
 }
 
 char *hBrowserName()
 /* Return browser name based on host name */
 {
 return (hIsPreviewHost() ? "Preview Genome Browser" :
         (hIsPrivateHost() ? "TEST Genome Browser" : "Genome Browser"));