Disable add php pages in admin panel for security. Option to disable plugins upload

This commit is contained in:
slawkens
2023-02-16 10:53:06 +01:00
parent 3a2870a6bb
commit 7a49b5dedc
3 changed files with 93 additions and 82 deletions

View File

@@ -299,6 +299,10 @@ $config = array(
'status_interval' => 60,
// admin panel
'admin_plugins_manage_enable' => 'yes', // you can disable possibility to upload and uninstall plugins, for security
// enable support for plain php pages in admin panel, for security
// existing pages still will be working, so you need to delete them manually
'admin_pages_php_enable' => 'no',
'admin_panel_modules' => 'statistics,web_status,server_status,lastlogin,created,points,coins,balance', // default - statistics,web_status,server_status,lastlogin,created,points,coins,balance
// other