]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
[CORE] Add custom favicon configuration support
authorDaniel Supernault <danielsupernault@gmail.com>
Sat, 22 Jun 2019 21:04:49 +0000 (22:04 +0100)
committerDiogo Cordeiro <diogo@fc.up.pt>
Sat, 3 Aug 2019 16:47:26 +0000 (17:47 +0100)
Adds support for custom favicons defined in config.php that override theme favicons.

DOCUMENTATION/SYSTEM_ADMINISTRATORS/CONFIGURE.md
lib/action.php

index a0682b98dddbbe5ee5a286898d3f3a8540c21099..b918ad04cde1589ad85395bde750f00d9411b09b 100644 (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
 -------------------------------------------------------------------------------
index 9cde0d7637d021799a7d5f257fc6b227cdd21b26..1f50351d3a2aa53d66f36aa84d9993f6041823ff 100644 (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());
         }