From d8e6fd5df0713ef4f52277944d15fd8230deec81 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 7 Feb 2016 18:11:10 -0800 Subject: provide get_server_role() to abstract different roles and capabilities --- boot.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'boot.php') 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'; +} -- cgit v1.2.3