MyBB Community Forums

Full Version: [TUTORIAL] How to remove ability to make database backups via AdminCP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'd probably do this:

Locate the files, backupdb.php and optimizedb.php in the directory, YOURADMINCPDIR -> modules -> tools. Now with these two files just simply open them and add this code directly after <?php:

header("Location: {$mybb->settings['bburl']}/{$config['admindir']}");

Untested but should work. Nice, simple, easy to revert.
Pages: 1 2