tiki-quiz_download_answer.php 489 Bytes
Newer Older
1
<?php
2
// (c) Copyright 2002-2011 by authors of the Tiki Wiki CMS Groupware Project
changi67's avatar
changi67 committed
3 4 5
// 
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
changi67's avatar
changi67 committed
6
// $Id$
7

changi67's avatar
changi67 committed
8
require_once ('tiki-setup.php');
9 10 11

$access->check_feature('feature_quizzes');

changi67's avatar
changi67 committed
12
require_once ('lib/quizzes/quizlib.php');
13
if (isset($_REQUEST['answerUploadId'])) {
changi67's avatar
changi67 committed
14
	$quizlib->download_answer($_REQUEST['answerUploadId']);
15
}