aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/text.php')
-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(