From 1f56ba13cd69efca4f24a3bce9a8bb8ebcf3ebac Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 22 Mar 2013 09:38:19 +0400 Subject: remove default definition of SITE_TITLE; rename to _SITE_TITLE as with other constants of this nature --- include/functions.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 0e2a922ba..7d4ce2918 100644 --- a/include/functions.php +++ b/include/functions.php @@ -4099,10 +4099,10 @@ } function get_site_title() { - $original_title = "Tiny Tiny RSS"; - if (defined("SITE_TITLE")) { - return SITE_TITLE; - } - return $original_title; + if (defined("_SITE_TITLE")) { + return _SITE_TITLE; + } else { + return "Tiny Tiny RSS"; + } } ?> -- cgit v1.2.3