aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-14 02:04:09 -0800
committerFriendika <info@friendika.com>2011-01-14 02:04:09 -0800
commita1c069ee02a00f55008c512c3dba101ae391badb (patch)
tree39ce6b851978a9f489ad84be1651cc072e5cf5c9 /boot.php
parent5bfb0ba4c2ee23366651e1e38d3964098f99f5cf (diff)
downloadvolse-hubzilla-a1c069ee02a00f55008c512c3dba101ae391badb.tar.gz
volse-hubzilla-a1c069ee02a00f55008c512c3dba101ae391badb.tar.bz2
volse-hubzilla-a1c069ee02a00f55008c512c3dba101ae391badb.zip
compatibility: version discovery
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php4
1 files changed, 3 insertions, 1 deletions
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', "<br />\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
));
}