]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
remove default definition of SITE_TITLE; rename to _SITE_TITLE as with other constant...
[tt-rss.git] / include / functions.php
index 0e2a922ba1239870bcbbe38cccdef5ad7f58979b..7d4ce29186dcf49db359938986ec564d73da3a6e 100644 (file)
        }
 
     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";
+                 }
     }
 ?>