summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-22 09:38:19 +0400
committerAndrew Dolgov <[email protected]>2013-03-22 09:38:19 +0400
commit1f56ba13cd69efca4f24a3bce9a8bb8ebcf3ebac (patch)
treee9f8ea4d4ac39f60587e6d08774c176220199c83 /include
parent707ad6ddf7b199e202fc39f61ffd08a4bc5bacc1 (diff)
remove default definition of SITE_TITLE; rename to _SITE_TITLE as with other constants of this nature
Diffstat (limited to 'include')
-rw-r--r--include/functions.php10
1 files changed, 5 insertions, 5 deletions
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";
+ }
}
?>