aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-11 18:05:50 -0800
committerfriendica <info@friendica.com>2014-11-11 18:05:50 -0800
commit570577a99089ff5bb48c5c67a612bdd874721e95 (patch)
tree798c1a61fba6e4bd85a0312f882ab50fedbc1bd4 /include
parent06e5d0798c67e8314429e475523a6a30e50bfb8e (diff)
downloadvolse-hubzilla-570577a99089ff5bb48c5c67a612bdd874721e95.tar.gz
volse-hubzilla-570577a99089ff5bb48c5c67a612bdd874721e95.tar.bz2
volse-hubzilla-570577a99089ff5bb48c5c67a612bdd874721e95.zip
a couple of places where we need to look for a sys channel euid.
Diffstat (limited to 'include')
-rw-r--r--include/text.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php
index 7cb54edd3..ba1f9e5a3 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2021,7 +2021,14 @@ function json_decode_plus($s) {
function design_tools() {
+
$channel = get_app()->get_channel();
+
+ if(array_key_exists('sys',$_REQUEST) && $_REQUEST['sys'] == 1 && is_site_admin()) {
+ require_once('include/identity.php');
+ $channel = get_sys_channel();
+ }
+
$who = $channel['channel_address'];
return replace_macros(get_markup_template('design_tools.tpl'), array(