File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ setCookie ('secret ' , '' , time () + 15 * 3600 * 24 );
4
+ header ("Location: index.php " );
Original file line number Diff line number Diff line change 255
255
$ graderet = LTIX ::gradeSend ($ grade , false , $ debug_log );
256
256
// $OUTPUT->dumpDebugArray($debug_log);
257
257
if ( $ graderet == true ) {
258
- echo ('<p style="color:green;">Output match - Grade sent to server</p> ' ."\n" );
258
+ echo ('<p style="color:green;">OUTPUT MATCH - Grade sent to server</p> ' ."\n" );
259
259
} else if ( is_string ($ graderet ) ) {
260
- echo ('<p style="color:red;">Output match - Grade not sent: ' .$ graderet ."</p> \n" );
260
+ echo ('<p style="color:red;">OUTPUT MATCH - Grade not sent: ' .$ graderet ."</p> \n" );
261
261
} else {
262
262
echo ('<p style="color:red;">Internal send error</p> ' ."\n" );
263
263
echo ("<pre> \n" );
You can’t perform that action at this time.
0 commit comments