To disable the template editor (where admin (founders) can place PHP code in), add this line to your config.php
- Code: Select all
@define('PHPBB_DISABLE_ACP_EDITOR', true);
I never use the phpBB back-up/restore function, so to disable it I've just added a trigger_error into ./includes/acp/acp_database.php
I could also remove the module and delete the file but then (the file) might be added again by a phpBB update.
- Code: Select all
trigger_error($user->lang['DISABLED'], E_USER_WARNING);
So if someone manage to login as a founder, he can't insert php code or get a database dump.









