diff options
author | Andrew Dolgov <[email protected]> | 2013-03-23 09:45:21 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-23 09:45:21 +0400 |
commit | c1353b6384ea44258c14f79cdaa8ea6e38a8ae51 (patch) | |
tree | 244d9915ecd5ae016525baf43f458427233bd678 /include/functions.php | |
parent | d6ce708930cb838af3ed1cf585d3ca62b7036d9b (diff) |
Revert "remove default definition of SITE_TITLE; rename to _SITE_TITLE as with other constants of this nature"
This reverts commit 1f56ba13cd69efca4f24a3bce9a8bb8ebcf3ebac.
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/functions.php b/include/functions.php index 994b4c179..00dc6a8fe 100644 --- a/include/functions.php +++ b/include/functions.php @@ -4086,10 +4086,10 @@ } function get_site_title() { - if (defined("_SITE_TITLE")) { - return _SITE_TITLE; - } else { - return "Tiny Tiny RSS"; - } + $original_title = "Tiny Tiny RSS"; + if (defined("SITE_TITLE")) { + return SITE_TITLE; + } + return $original_title; } ?> |