danmarsden / moodle-plagiarism_urkund

Ouriginal plagiarism plugin for Moodle (previously called Urkund)
https://ouriginal.com/
12 stars 19 forks source link

switch to use of $CFG->tempdir #16

Closed techxplorer closed 11 years ago

techxplorer commented 11 years ago

Hi,

It would be preferable that all uses of the $CFG->dataroot.'/temp/' is replaced with calls to $CFG->tempdir. This is because on a local machine, $CFG->tempdir gets set to $CFG->dataroot.'/temp/', automatically but on our infrastructure, it can be somewhere different like a tmpfs.

With thanks.

-Corey

danmarsden commented 11 years ago

grrr - I should know better! - thanks for the pull request!