diff --git a/config.php-dist b/config.php-dist index a5a7fc3e..176949fd 100644 --- a/config.php-dist +++ b/config.php-dist @@ -183,6 +183,9 @@ // Users may enable other user plugins from Preferences/Plugins but may not // disable plugins specified in this list. + define('SITE_TITLE', 'Tiny Tiny RSS'); + // Change this value to customize the HTML page title + define('CONFIG_VERSION', 26); // Expected config version. Please update this option in config.php // if necessary (after migrating all new options from this file). diff --git a/include/functions.php b/include/functions.php index 17fe1854..0e2a922b 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; + } ?> diff --git a/index.php b/index.php index bf8eafe7..4669a208 100644 --- a/index.php +++ b/index.php @@ -53,7 +53,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-