Closed RussellEngland closed 3 years ago
Isn't this fixed by https://github.com/catalyst/moodle-report_coursesize/commit/8a251a71078d5a1e3ce0c49ff521a4ff51dc32f8 (although it doesn't use DIRECTORY_SEPARATOR and perhaps should)?
yeah - PHP converts it automatically for windows, but could be other O/S that would need DIRECTORY_SEPARATOR to be used. - I'll close this one but if anyone hits this and wants to change it I'm open to seeing a PR - although, I'd expect many things in core that don't use DIRECTORY_SEPARATOR to fail before someone cares about report_coursesize! :-)
If the path in $CFG->dataroot doesn't have a slash at the end, then this error is displayed
So in /report/coursesize/index.php, change this
To this