compatibility: version discovery

This commit is contained in:
Friendika 2011-01-14 02:04:09 -08:00
parent 5bfb0ba4c2
commit a1c069ee02
5 changed files with 7 additions and 2 deletions

View file

@ -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
));
}