diff --git a/classes/combinator_grader_outcome.php b/classes/combinator_grader_outcome.php index 9348e00f..7c3258ba 100644 --- a/classes/combinator_grader_outcome.php +++ b/classes/combinator_grader_outcome.php @@ -120,12 +120,12 @@ private function save_files($files) { 'filepath' => '/', // File path within the context. 'filename' => $extendedfilename, ]; - + // Create the file in Moodle's filesystem. $fs = get_file_storage(); $file = $fs->create_file_from_string($fileinfo, $decoded); - // Generate a URL to the saved file. + // Generate a @@PLUGINFILE@@ URL to the saved file. $url = '@@PLUGINFILE@@/' . $extendedfilename; $fileurls[$filename] = $url; }