aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <redmatrix@redmatrix.me>2015-04-08 23:05:36 -0700
committerfriendica <redmatrix@redmatrix.me>2015-04-08 23:05:36 -0700
commit7bec4b313a7a553e6df3e24289cf894f3d70a94e (patch)
treeab5050089f10ca739c89d2794b1c50816cfba79a /mod
parent184f8d42eac7ee05828297f88cccac59f0cb5895 (diff)
downloadvolse-hubzilla-7bec4b313a7a553e6df3e24289cf894f3d70a94e.tar.gz
volse-hubzilla-7bec4b313a7a553e6df3e24289cf894f3d70a94e.tar.bz2
volse-hubzilla-7bec4b313a7a553e6df3e24289cf894f3d70a94e.zip
system channel always has allow_code privileges
Diffstat (limited to 'mod')
-rw-r--r--mod/webpages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/webpages.php b/mod/webpages.php
index a2a0ebf7b..c5fdda89b 100644
--- a/mod/webpages.php
+++ b/mod/webpages.php
@@ -68,7 +68,7 @@ function webpages_content(&$a) {
return;
}
- if(feature_enabled($owner,'expert')) {
+ if(feature_enabled($owner,'expert') || $a->is_sys) {
$mimetype = (($_REQUEST['mimetype']) ? $_REQUEST['mimetype'] : get_pconfig($owner,'system','page_mimetype'));
if(! $mimetype)
$mimetype = 'choose';