MDL-49399 core: Allow creation of a new per-request basedir
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 5 Dec 2018 07:20:20 +0000 (15:20 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Wed, 16 Jan 2019 04:14:25 +0000 (12:14 +0800)
commitcca12f68d084a2c77e08f05cb26c073ad71bacc3
tree311f0c3b2ec347a6724a32bf97c3cca49f38d910
parent251ee97c352916fdac41517d148284cc20c12c90
MDL-49399 core: Allow creation of a new per-request basedir

Shutdown handlers are processed in order. If something in a shutdown
handler uses a file which is stored in a per-request directory, and
another, unrelated, per-request directory was created before the handler
started. then a fresh per-request directory will be required.
lib/classes/task/logmanager.php
lib/setuplib.php