diff options
author | Richard Beales <[email protected]> | 2013-03-21 20:24:26 +0000 |
---|---|---|
committer | Richard Beales <[email protected]> | 2013-03-21 20:24:26 +0000 |
commit | 8d051fa0769922df69ac737eee9d13dff67095a9 (patch) | |
tree | d0c8711902382f89d9afb4a0205fac20bf85f862 /include | |
parent | c489ae913d1778a9cdab45092bf0015e74300909 (diff) |
update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index 5d5550059..879a03e3f 100644 --- a/include/functions.php +++ b/include/functions.php @@ -4098,4 +4098,11 @@ return $max_ts; } + function get_site_title() { + $original_title = "Tiny Tiny RSS"; + if (defined("SITE_TITLE")) { + return SITE_TITLE; + } + return $original_title; + } ?> |