Fossil

Diff
Login

Differences From Artifact [7cdf73858e]:

To Artifact [36ebe6631d]:


1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
    blob_init(&bgimg, (char*)aBackground, sizeof(aBackground));
  }
  cgi_set_content_type(zMime);
  cgi_set_content(&bgimg);
}

/* The default favicon.ico
** A 16x16 Microsoft bitmap image.  1150 bytes.
*/
static const unsigned char favicon[] = {
   0,  0,  1,  0,  1,  0, 16, 16,  0,  0,  1,  0, 32,  0,104,  4,  0,  0, 22,
   0,  0,  0, 40,  0,  0,  0, 16,  0,  0,  0, 32,  0,  0,  0,  1,  0, 32,  0,
   0,  0,  0,  0,  0,  4,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
   0,  0,  0,  0,  0,255,255,255,255,255,255,255,255,255,255,255,255,231,226,
 216,255,184,170,141,255,179,164,133,255,252,252,251,255,240,237,231,255,213,







|







1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
    blob_init(&bgimg, (char*)aBackground, sizeof(aBackground));
  }
  cgi_set_content_type(zMime);
  cgi_set_content(&bgimg);
}

/* The default favicon.ico
** A 62x71 pixel GIF image for the Fossil lizzard icon.
*/
static const unsigned char favicon[] = {
   0,  0,  1,  0,  1,  0, 16, 16,  0,  0,  1,  0, 32,  0,104,  4,  0,  0, 22,
   0,  0,  0, 40,  0,  0,  0, 16,  0,  0,  0, 32,  0,  0,  0,  1,  0, 32,  0,
   0,  0,  0,  0,  0,  4,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
   0,  0,  0,  0,  0,255,255,255,255,255,255,255,255,255,255,255,255,231,226,
 216,255,184,170,141,255,179,164,133,255,252,252,251,255,240,237,231,255,213,
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
*/
void favicon_page(void){
  Blob favicon;

  etag_check(ETAG_CONFIG, 0);
  blob_zero(&favicon);
  blob_init(&favicon, (char*)aLogo, sizeof(aLogo));
  cgi_set_content_type("image/vnd.microsoft.icon");
  cgi_set_content(&favicon);
}

/*
** WEBPAGE: docsrch
**
** Search for documents that match a user-supplied full-text search pattern.







|







1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
*/
void favicon_page(void){
  Blob favicon;

  etag_check(ETAG_CONFIG, 0);
  blob_zero(&favicon);
  blob_init(&favicon, (char*)aLogo, sizeof(aLogo));
  cgi_set_content_type("image/gif");
  cgi_set_content(&favicon);
}

/*
** WEBPAGE: docsrch
**
** Search for documents that match a user-supplied full-text search pattern.