Skip to content

Commit d14d66d

Browse files
authored
Merge pull request #573 from topcoder-platform/issues-572
Issues-572: Fixed Favicon path
2 parents ec13b5b + 3b34614 commit d14d66d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config/vanilla/config.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,5 @@
205205
];
206206
// Allow "target='_blank'" for Markdown format;
207207
$Configuration['Garden']['Html']['BlockedAttributes']='on*, download';
208+
209+
$Configuration['Garden']['FavIcon']='/themes/topcoder/design/images/favicon.png';

vanilla/library/core/class.controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1975,7 +1975,7 @@ public function renderMaster() {
19751975
// Add the favicon.
19761976
$Favicon = c('Garden.FavIcon');
19771977
if ($Favicon) {
1978-
$this->Head->setFavIcon(Gdn_Upload::url($Favicon));
1978+
$this->Head->setFavIcon($Favicon);
19791979
}
19801980

19811981
$touchIcon = c('Garden.TouchIcon');

0 commit comments

Comments
 (0)