From 8d051fa0769922df69ac737eee9d13dff67095a9 Mon Sep 17 00:00:00 2001 From: Richard Beales Date: Thu, 21 Mar 2013 20:24:26 +0000 Subject: update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title --- include/functions.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') 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; + } ?> -- cgit v1.2.3