+ add alternative favicon urls

This commit is contained in:
kelson42 2011-07-07 11:54:43 +00:00
parent 5b679f6b1b
commit 86dae55c18
1 changed files with 10 additions and 0 deletions

View File

@ -140,6 +140,16 @@ namespace kiwix {
contentLength, mimeType); contentLength, mimeType);
} }
if (content.empty()) {
this->getContentByUrl( "/I/favicon", content,
contentLength, mimeType);
}
if (content.empty()) {
this->getContentByUrl( "/-/favicon", content,
contentLength, mimeType);
}
return content.empty() ? false : true; return content.empty() ? false : true;
} }