We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e463775 commit 1c82459Copy full SHA for 1c82459
main/lp/lp_upload.php
@@ -12,9 +12,8 @@
12
* @author Yannick Warnier <[email protected]>
13
*/
14
15
-// Flag to allow for anonymous user - needs to be set before global.inc.php.
16
-$use_anonymous = true;
17
require_once __DIR__.'/../inc/global.inc.php';
+api_protect_course_script();
18
$course_dir = api_get_course_path().'/scorm';
19
$course_sys_dir = api_get_path(SYS_COURSE_PATH).$course_dir;
20
if (empty($_POST['current_dir'])) {
0 commit comments