MDL-68608 session: Improved the readonly session debugging

This commit is contained in:
Brendan Heywood
2020-12-14 14:09:55 +11:00
parent c307f3b138
commit 1dadeaeb39
2 changed files with 24 additions and 12 deletions
+5
View File
@@ -680,6 +680,11 @@ $CFG->admin = 'admin';
//
// $CFG->enable_read_only_sessions = true;
//
// To help expose all the edge cases bugs a debug mode is available which shows the same
// runtime write during readonly errors without actually turning on the readonly sessions:
//
// $CFG->enable_read_only_sessions_debug = true;
//
// Uninstall plugins from CLI only. This stops admins from uninstalling plugins from the graphical admin
// user interface, and forces plugins to be uninstalled from the Command Line tool only, found at
// admin/cli/plugin_uninstall.php.