system channel always has allow_code privileges

This commit is contained in:
friendica
2015-04-08 23:05:36 -07:00
parent 184f8d42ea
commit 7bec4b313a
2 changed files with 20 additions and 7 deletions

View File

@@ -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';