mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-58018 core: finish dev to support open sessions without a lock
This commit is contained in:
parent
82da35fd51
commit
4400ed3e1c
12 changed files with 159 additions and 54 deletions
|
@ -28,8 +28,8 @@
|
|||
*/
|
||||
|
||||
define('AJAX_SCRIPT', true);
|
||||
// Services can declare 'requiresessionlock' in their config located in db/services.php, if not present will default to true.
|
||||
define('REQUIRE_SESSION_LOCK', false);
|
||||
// Services can declare 'readonlysession' in their config located in db/services.php, if not present will default to false.
|
||||
define('READ_ONLY_SESSION', true);
|
||||
|
||||
if (!empty($_GET['nosessionupdate'])) {
|
||||
define('NO_SESSION_UPDATE', true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue