From d757dd4e1750908a9964189c4310c4037c3c3fc4 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 29 Nov 2016 15:47:38 -0800 Subject: provide a fresh new look and cleaner layout and more relevant information to siteinfo --- Zotlabs/Lib/System.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Zotlabs/Lib/System.php') 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']; -- cgit v1.2.3 From 0cf6c6c132dda695853ce52089f6745a9c4b29dc Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 29 Nov 2016 17:00:37 -0800 Subject: wrong link --- Zotlabs/Lib/System.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Lib/System.php') diff --git a/Zotlabs/Lib/System.php b/Zotlabs/Lib/System.php index f05cdcf0e..70443016f 100644 --- a/Zotlabs/Lib/System.php +++ b/Zotlabs/Lib/System.php @@ -51,7 +51,7 @@ class System { 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'; + return 'https://github.com/redmatrix/hubzilla'; } -- cgit v1.2.3