mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Bug solved. make_upload_directory() is relative to
dataroot by definition.
This commit is contained in:
parent
ae8c20d737
commit
71de0d55f8
@ -270,7 +270,7 @@ class component_installer {
|
||||
return UPTODATE;
|
||||
}
|
||||
/// Create temp directory if necesary
|
||||
if (!make_upload_directory($CFG->dataroot.'/temp', false)) {
|
||||
if (!make_upload_directory('temp', false)) {
|
||||
$this->errorstring='cannotcreatetempdir';
|
||||
return ERROR;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user