From cf4dc2caa82c9d03ac667feed5f5671510e0e00a Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 8 Mar 2016 16:21:35 -0800 Subject: move "generator" to HttpMeta --- boot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index c89ffc9ad..37374ef4c 100755 --- a/boot.php +++ b/boot.php @@ -1026,6 +1026,8 @@ class App { if(! $this->meta->get_field('og:title')) $this->meta->set('og:title',$this->page['title']); + $this->meta->set('generator', Zotlabs\Project\System::get_platform_name()); + /* put the head template at the beginning of page['htmlhead'] * since the code added by the modules frequently depends on it * being first @@ -1036,7 +1038,6 @@ class App { '$user_scalable' => $user_scalable, '$baseurl' => $this->get_baseurl(), '$local_channel' => local_channel(), - '$generator' => Zotlabs\Project\System::get_platform_name() . ((Zotlabs\Project\System::get_project_version()) ? ' ' . Zotlabs\Project\System::get_project_version() : ''), '$metas' => $this->meta->get(), '$update_interval' => $interval, '$icon' => head_get_icon(), -- cgit v1.2.3