-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
There are a few places that use hard coded paths such as $CFG->dataroot/temp/backup/ to look for the backup log and $CFG->dataroot/lang/ for language packs which may not always be correct and results in an exception if $CFG->backuptempdir or $CFG->langlocalroot have been changed.
in 3.9, backup location has also been moved to $CFG->localcachedir, which will also cause this to throw an exception. (MDL-68166)
Files:
| unlink($CFG->dataroot.'/temp/backup/'.$backupid.'.log'); |
| unlink($CFG->dataroot.'/temp/backup/'.$restoreid.'.log'); |
| $langstringdir = $CFG->dataroot.'/lang/'; |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels