provide a fresh new look and cleaner layout and more relevant information to siteinfo

This commit is contained in:
zotlabs
2016-11-29 15:47:38 -08:00
parent 175ae58563
commit d757dd4e17
5 changed files with 81 additions and 78 deletions

View File

@@ -42,6 +42,20 @@ class System {
}
static public function get_project_link() {
if(is_array(\App::$config) && is_array(\App::$config['system']) && \App::$config['system']['project_link'])
return \App::$config['system']['project_link'];
return 'https://hubzilla.org';
}
static public function get_project_srclink() {
if(is_array(\App::$config) && is_array(\App::$config['system']) && \App::$config['system']['project_srclink'])
return \App::$config['system']['project_srclink'];
return 'https://github.org/redmatrix/hubzilla';
}
static public function get_server_role() {
if(is_array(\App::$config) && is_array(\App::$config['system']) && \App::$config['system']['server_role'])
return \App::$config['system']['server_role'];