aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/System.php
diff options
context:
space:
mode:
authorAndrew Manning <andrew@reticu.li>2016-11-29 22:13:24 -0500
committerAndrew Manning <andrew@reticu.li>2016-11-29 22:13:24 -0500
commit50a8ba8c18b081ce60ba7ab1a74ba30d8ff43794 (patch)
tree4f38196c3f0b45d6aa87149ca27119481f470c60 /Zotlabs/Lib/System.php
parentb32bce9be22ca9c0c2b47e4a43282e9289c236ff (diff)
parent8c87f32b381ec0be066cdd0e6ca4fe50079bbd16 (diff)
downloadvolse-hubzilla-50a8ba8c18b081ce60ba7ab1a74ba30d8ff43794.tar.gz
volse-hubzilla-50a8ba8c18b081ce60ba7ab1a74ba30d8ff43794.tar.bz2
volse-hubzilla-50a8ba8c18b081ce60ba7ab1a74ba30d8ff43794.zip
Merge remote-tracking branch 'upstream/dev' into doco
Diffstat (limited to 'Zotlabs/Lib/System.php')
-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'];