diff --git a/_config.php b/_config.php index 420d782..3f20ca4 100644 --- a/_config.php +++ b/_config.php @@ -14,9 +14,11 @@ if (!defined('DC_CONTEXT_MODULE')) { return null; } -if (!dPage::checkSuper()) { + +if (!$core->auth->isSuperAdmin()) { return null; } + if (!empty($_POST['save'])) { try { $core->blog->settings->dcAdvancedCleaner->dropEvery(