forked from Cavemanon/cavepaintings
Setup constants
This commit is contained in:
@ -14,7 +14,7 @@ class RSS_Comments extends Extension
|
||||
public function onPostListBuilding(PostListBuildingEvent $event)
|
||||
{
|
||||
global $config, $page;
|
||||
$title = $config->get_string('title');
|
||||
$title = $config->get_string(SetupConfig::TITLE);
|
||||
|
||||
$page->add_html_header("<link rel=\"alternate\" type=\"application/rss+xml\" ".
|
||||
"title=\"$title - Comments\" href=\"".make_link("rss/comments")."\" />");
|
||||
@ -60,7 +60,7 @@ class RSS_Comments extends Extension
|
||||
";
|
||||
}
|
||||
|
||||
$title = $config->get_string('title');
|
||||
$title = $config->get_string(SetupConfig::TITLE);
|
||||
$base_href = make_http(get_base_href());
|
||||
$version = $config->get_string('version');
|
||||
$xml = <<<EOD
|
||||
|
Reference in New Issue
Block a user