aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-11-30 10:57:04 +0100
committerMario Vavti <mario@mariovavti.com>2016-11-30 10:57:04 +0100
commit53e4b55ea3722a161b308e4891a2e84ad9ba77af (patch)
tree8504c9e9ff0082d13151aaee4e29f13b01640a02 /Zotlabs/Lib
parentf32f7d2308957daaf2e3640866d50f740ee6d809 (diff)
parent7b31e5918e72d4812e23a35d1ea4edd6853d3b7a (diff)
downloadvolse-hubzilla-53e4b55ea3722a161b308e4891a2e84ad9ba77af.tar.gz
volse-hubzilla-53e4b55ea3722a161b308e4891a2e84ad9ba77af.tar.bz2
volse-hubzilla-53e4b55ea3722a161b308e4891a2e84ad9ba77af.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/System.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/Zotlabs/Lib/System.php b/Zotlabs/Lib/System.php
index 26768af26..70443016f 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.com/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'];