} Session::write('refresh', 1); $learnPath->switch_attempt_mode(); $learnPath->updateCurrentLpFromSession(); require 'lp_list.php'; break; case 'switch_scorm_debug': if ($debug > 0) { error_log('New LP - switch_scorm_debug action triggered', 0); } if (!$lp_found) { error_log('New LP - No learnpath given for switch', 0); require 'lp_list.php'; } Session::write('refresh', 1); $learnPath->update_scorm_debug(); $learnPath->updateCurrentLpFromSession(); require 'lp_list.php'; break; case 'intro_cmdAdd': if ($debug > 0) { error_log('New LP - intro_cmdAdd action triggered', 0); } // Add introduction section page. break; case 'js_api_refresh': if ($debug > 0) { error_log('New LP - js_api_refresh action triggered', 0); } if (!$lp_found) { error_log('New LP - No learnpath given for js_api_refresh', 0);