diff options
author | friendica <redmatrix@redmatrix.me> | 2015-04-08 23:05:36 -0700 |
---|---|---|
committer | friendica <redmatrix@redmatrix.me> | 2015-04-08 23:05:36 -0700 |
commit | 7bec4b313a7a553e6df3e24289cf894f3d70a94e (patch) | |
tree | ab5050089f10ca739c89d2794b1c50816cfba79a /mod | |
parent | 184f8d42eac7ee05828297f88cccac59f0cb5895 (diff) | |
download | volse-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.php | 2 |
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'; |