diff options
author | zotlabs <mike@macgirvin.com> | 2016-11-29 15:47:38 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-11-29 15:47:38 -0800 |
commit | d757dd4e1750908a9964189c4310c4037c3c3fc4 (patch) | |
tree | 6a3efe01b2d9a3964abf4b59129c10cb5268c354 /Zotlabs/Lib | |
parent | 175ae585630a4f97298ebd389b2607d3ba2e5af6 (diff) | |
download | volse-hubzilla-d757dd4e1750908a9964189c4310c4037c3c3fc4.tar.gz volse-hubzilla-d757dd4e1750908a9964189c4310c4037c3c3fc4.tar.bz2 volse-hubzilla-d757dd4e1750908a9964189c4310c4037c3c3fc4.zip |
provide a fresh new look and cleaner layout and more relevant information to siteinfo
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/System.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Zotlabs/Lib/System.php b/Zotlabs/Lib/System.php index 26768af26..f05cdcf0e 100644 --- a/Zotlabs/Lib/System.php +++ b/Zotlabs/Lib/System.php @@ -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']; |