diff --git a/inc/functions.php b/inc/functions.php index 70e5eadd..464d22da 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -19,6 +19,10 @@ require $board['dir'] . '/config.php'; } + if(!isset($__version)) + $__version = trim(file_get_contents('.installed')); + $config['version'] = $__version; + if($config['debug']) { if(!isset($debug)) { $debug = Array('sql' => Array(), 'purge' => Array(), 'cached' => Array()); diff --git a/templates/index.html b/templates/index.html index 8cd21eb0..8c15436f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -157,7 +157,7 @@ [{{ page.num }}]{% if loop.last %} {% endif %} {% endfor %} {{ btn.next }} {{ boardlist.bottom }} -
Powered by Tinyboard v0.9.4 | Tinyboard Copyright © 2010-2011 Tinyboard Development Group
+Powered by Tinyboard {{ config.version }} | Tinyboard Copyright © 2010-2011 Tinyboard Development Group
All trademarks, copyrights, comments, and images on this page are owned by or are the responsibility of their respective parties.