mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-76305 core: Use dir separator when assigning $CFG->tempdir
This commit is contained in:
parent
fee1b8ce5f
commit
2c098a7ec7
@ -201,7 +201,7 @@ $CFG->libdir = $CFG->dirroot .'/lib';
|
||||
|
||||
// Allow overriding of tempdir but be backwards compatible
|
||||
if (!isset($CFG->tempdir)) {
|
||||
$CFG->tempdir = "$CFG->dataroot/temp";
|
||||
$CFG->tempdir = $CFG->dataroot . DIRECTORY_SEPARATOR . "temp";
|
||||
}
|
||||
|
||||
// Allow overriding of backuptempdir but be backwards compatible
|
||||
|
Loading…
x
Reference in New Issue
Block a user