remove default definition of SITE_TITLE; rename to _SITE_TITLE as with other constants of this nature
This commit is contained in:
parent
707ad6ddf7
commit
1f56ba13cd
2 changed files with 5 additions and 8 deletions
|
@ -183,9 +183,6 @@
|
||||||
// Users may enable other user plugins from Preferences/Plugins but may not
|
// Users may enable other user plugins from Preferences/Plugins but may not
|
||||||
// disable plugins specified in this list.
|
// 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);
|
define('CONFIG_VERSION', 26);
|
||||||
// Expected config version. Please update this option in config.php
|
// Expected config version. Please update this option in config.php
|
||||||
// if necessary (after migrating all new options from this file).
|
// if necessary (after migrating all new options from this file).
|
||||||
|
|
|
@ -4099,10 +4099,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_site_title() {
|
function get_site_title() {
|
||||||
$original_title = "Tiny Tiny RSS";
|
if (defined("_SITE_TITLE")) {
|
||||||
if (defined("SITE_TITLE")) {
|
return _SITE_TITLE;
|
||||||
return SITE_TITLE;
|
} else {
|
||||||
|
return "Tiny Tiny RSS";
|
||||||
}
|
}
|
||||||
return $original_title;
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue