check that the advanced_theming feature is enabled before the pdledit module can be accessed.

This commit is contained in:
redmatrix
2016-09-01 20:35:52 -07:00
parent af87038150
commit e5c077243c
2 changed files with 10 additions and 0 deletions

View File

@@ -191,6 +191,8 @@ class Settings extends \Zotlabs\Web\Controller {
check_form_security_token_redirectOnErr('/settings/features', 'settings_features');
// Build list of features and check which are set
// We will not create any settings for features that are above our techlevel
$features = get_features();
$all_features = array();
foreach($features as $k => $v) {