common_safemode.php
. You should copy common_safemode.php to a phpBB 3.3 board, rename common.php to common_original.php, and then rename common_safemode.php to common.php. You can then enable safe mode at any time by adding the following line to your config.php file:Code: Select all
define('PHPBB_SAFEMODE', true);
Here's an example of a good use for safe mode. If you had enabled a new extension that broke your board, you can enable safe mode, then access the ACP and disable the offending extension, and then disable safe mode. It also comes close to implementing a phpBB ideas proposal.
If you have any questions, please ask. And if you're an extension developer, make sure to look at the code in common_safemode.php. It contains several "tricks" you may find useful.