Bug solved. make_upload_directory() is relative to
dataroot by definition.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user