From a1c069ee02a00f55008c512c3dba101ae391badb Mon Sep 17 00:00:00 2001 From: Friendika Date: Fri, 14 Jan 2011 02:04:09 -0800 Subject: compatibility: version discovery --- boot.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 7e71a38d9..9715f9cfd 100644 --- a/boot.php +++ b/boot.php @@ -3,6 +3,7 @@ set_time_limit(0); define ( 'BUILD_ID', 1031 ); +define ( 'FRIENDIKA_VERSION', '2.01.1000' ); define ( 'DFRN_PROTOCOL_VERSION', '2.0' ); define ( 'EOL', "
\r\n" ); @@ -311,7 +312,8 @@ class App { $this->page['title'] = $this->config['sitename']; $tpl = load_view_file("view/head.tpl"); $this->page['htmlhead'] = replace_macros($tpl,array( - '$baseurl' => $this->get_baseurl() . '/' + '$baseurl' => $this->get_baseurl() . '/', + '$generator' => 'Friendika' . ' ' . FRIENDIKA_VERSION )); } -- cgit v1.2.3