@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | } |
59 | 59 | $params = array('contextid' => $context->id, |
60 | 60 | 'sesskey' => $sesskey, |
61 | - 'recordrtcroot' => $CFG->wwwroot.'/lib/editor/atto/plugins/recordrtc/', |
|
61 | + 'recordrtcroot' => $CFG->wwwroot . '/lib/editor/atto/plugins/recordrtc/', |
|
62 | 62 | 'allowedtypes' => $allowedtypes, |
63 | 63 | 'audiobitrate' => $audiobitrate, |
64 | 64 | 'videobitrate' => $videobitrate, |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | /** |
121 | 121 | * Define file-access behaviour for this plugin. |
122 | 122 | */ |
123 | -function atto_recordrtc_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) { |
|
123 | +function atto_recordrtc_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options = array()) { |
|
124 | 124 | if ($filearea !== 'annotation') { |
125 | 125 | return false; |
126 | 126 | } |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | if (!$args) { |
136 | 136 | $filepath = '/'; |
137 | 137 | } else { |
138 | - $filepath = '/'.implode('/', $args).'/'; |
|
138 | + $filepath = '/' . implode('/', $args) . '/'; |
|
139 | 139 | } |
140 | 140 | |
141 | 141 | $fs = get_file_storage(); |