forked from Cavemanon/cavepaintings
Setup constants
This commit is contained in:
@@ -12,7 +12,7 @@ class RSS_Images extends Extension
|
||||
public function onPostListBuilding(PostListBuildingEvent $event)
|
||||
{
|
||||
global $config, $page;
|
||||
$title = $config->get_string('title');
|
||||
$title = $config->get_string(SetupConfig::TITLE);
|
||||
|
||||
if (count($event->search_terms) > 0) {
|
||||
$search = html_escape(implode(' ', $event->search_terms));
|
||||
@@ -47,7 +47,7 @@ class RSS_Images extends Extension
|
||||
$data .= $this->thumb($image);
|
||||
}
|
||||
|
||||
$title = $config->get_string('title');
|
||||
$title = $config->get_string(SetupConfig::TITLE);
|
||||
$base_href = make_http(get_base_href());
|
||||
$search = "";
|
||||
if (count($search_terms) > 0) {
|
||||
|
Reference in New Issue
Block a user