diff options
Diffstat (limited to 'mod/siteinfo.php')
-rw-r--r-- | mod/siteinfo.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/siteinfo.php b/mod/siteinfo.php index f7423506f..19b566b73 100644 --- a/mod/siteinfo.php +++ b/mod/siteinfo.php @@ -12,10 +12,10 @@ 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'); + $tag = Zotlabs\Project\System::get_std_version(); // @shell_exec('git describe --tags --abbrev=0'); } if(! isset($commit) || strlen($commit) > 16) $commit = ''; |