diff options
author | friendica <info@friendica.com> | 2015-03-10 02:23:14 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-10 02:23:14 -0700 |
commit | 98dffd77efbad934a26fb4abee9b3e42eeb7b6d2 (patch) | |
tree | d2b486cd467ddd6436b33eec3e106e25af188630 /boot.php | |
parent | 4237e8052e938d22cafd81dd2a37cf1bfd511fac (diff) | |
download | volse-hubzilla-98dffd77efbad934a26fb4abee9b3e42eeb7b6d2.tar.gz volse-hubzilla-98dffd77efbad934a26fb4abee9b3e42eeb7b6d2.tar.bz2 volse-hubzilla-98dffd77efbad934a26fb4abee9b3e42eeb7b6d2.zip |
channel delegation
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1880,6 +1880,9 @@ function current_theme_url($installing = false) { function is_site_admin() { $a = get_app(); + if($_SESSION['delegate']) + return false; + if((intval($_SESSION['authenticated'])) && (is_array($a->account)) && ($a->account['account_roles'] & ACCOUNT_ROLE_ADMIN)) |