system channel always has allow_code privileges
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user