aboutsummaryrefslogtreecommitdiffstats
path: root/mod/siteinfo.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-18 15:24:58 -0800
committerredmatrix <git@macgirvin.com>2016-02-18 15:24:58 -0800
commit342fda94e4162634eeb67c18c1d284e7d78f217f (patch)
tree8171ce097a62ddf6de743a4ec25b2dd9ae3ccc41 /mod/siteinfo.php
parentc107bcfbd972a900cfd81b217014f7d4915fd73d (diff)
downloadvolse-hubzilla-342fda94e4162634eeb67c18c1d284e7d78f217f.tar.gz
volse-hubzilla-342fda94e4162634eeb67c18c1d284e7d78f217f.tar.bz2
volse-hubzilla-342fda94e4162634eeb67c18c1d284e7d78f217f.zip
Provide Zotlabs\Project and System class for querying details about the project/version info. Move these out of /boot.php
Diffstat (limited to 'mod/siteinfo.php')
-rw-r--r--mod/siteinfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/siteinfo.php b/mod/siteinfo.php
index f7423506f..29c7d7d2c 100644
--- a/mod/siteinfo.php
+++ b/mod/siteinfo.php
@@ -12,7 +12,7 @@ function siteinfo_init(&$a) {
function siteinfo_content(&$a) {
if(! get_config('system','hidden_version_siteinfo')) {
- $version = sprintf( t('Version %s'), get_project_version());
+ $version = sprintf( t('Version %s'), Zotlabs\Project\System::get_project_version());
if(@is_dir('.git') && function_exists('shell_exec')) {
$commit = @shell_exec('git log -1 --format="%h"');
$tag = get_std_version(); // @shell_exec('git describe --tags --abbrev=0');