aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-07 18:11:10 -0800
committerredmatrix <git@macgirvin.com>2016-02-07 18:11:10 -0800
commitd8e6fd5df0713ef4f52277944d15fd8230deec81 (patch)
treead5cb27b976ab3670b86cfb2ddfface8f47cf559 /boot.php
parentec950de2054243f22e7d6b30e4d7b9b41f293d4e (diff)
downloadvolse-hubzilla-d8e6fd5df0713ef4f52277944d15fd8230deec81.tar.gz
volse-hubzilla-d8e6fd5df0713ef4f52277944d15fd8230deec81.tar.bz2
volse-hubzilla-d8e6fd5df0713ef4f52277944d15fd8230deec81.zip
provide get_server_role() to abstract different roles and capabilities
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 1628dd0fd..1f214c400 100755
--- a/boot.php
+++ b/boot.php
@@ -2394,3 +2394,9 @@ function get_site_icon() {
return z_root() . '/images/hz-32.png';
}
+
+function get_server_role() {
+ if(UNO)
+ return 'basic';
+ return 'advanced';
+}