[CORE] Add custom favicon configuration support

Adds support for custom favicons defined in config.php that override theme favicons.
This commit is contained in:
Daniel Supernault 2019-06-22 22:04:49 +01:00 committed by Diogo Cordeiro
parent 9c0354bbf1
commit 2850e56f30
2 changed files with 2 additions and 1 deletions

View File

@ -146,6 +146,7 @@ This section is a catch-all for site-wide variables.
be fine-tuned for notices, messages, profile bios and group descriptions.
Zero indicates no limit.
* favicon: the path to a custom favicon, eg: favicon.png
db
-------------------------------------------------------------------------------

View File

@ -249,7 +249,7 @@ class Action extends HTMLOutputter // lawsuit
if ($this->needLogin) {
$this->checkLogin(); // if not logged in, this redirs/excepts
}
if ($this->redirectAfterLogin) {
common_set_returnto($this->selfUrl());
}