Commit a17b297d authored by Tim Hunt's avatar Tim Hunt
Browse files

MDL-20636 Add missing defined('MOODLE_INTERNAL') || die();

parent 7764183a
......@@ -27,6 +27,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once(dirname(__FILE__) . '/../deferredfeedback/behaviour.php');
......
......@@ -26,6 +26,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Renderer for outputting parts of a question belonging to the deferred
* feedback with certainty based marking behaviour.
......
......@@ -26,6 +26,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once(dirname(__FILE__) . '/../../../engine/lib.php');
require_once(dirname(__FILE__) . '/../../../engine/simpletest/helpers.php');
......
......@@ -15,7 +15,6 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Question behaviour for the case when the student's answer is just
* saved until they submit the whole attempt, and then it is graded.
......@@ -27,6 +26,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Question behaviour for deferred feedback.
*
......
......@@ -25,6 +25,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Renderer for outputting parts of a question belonging to the deferred
* feedback behaviour.
......
......@@ -26,6 +26,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once(dirname(__FILE__) . '/../../../engine/lib.php');
require_once(dirname(__FILE__) . '/../../../engine/simpletest/helpers.php');
......
......@@ -15,7 +15,6 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Question behaviour where the student can submit questions one at a
* time for immediate feedback, with certainty based marking.
......@@ -27,8 +26,11 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once(dirname(__FILE__) . '/../immediatefeedback/behaviour.php');
/**
* Question behaviour for immediate feedback with CBM.
*
......
......@@ -25,6 +25,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once(dirname(__FILE__) . '/../deferredcbm/renderer.php');
......
......@@ -26,6 +26,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once(dirname(__FILE__) . '/../../../engine/lib.php');
require_once(dirname(__FILE__) . '/../../../engine/simpletest/helpers.php');
......
......@@ -26,6 +26,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Question behaviour for immediate feedback.
*
......
......@@ -25,6 +25,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Renderer for outputting parts of a question belonging to the immediate
* feedback behaviour.
......
......@@ -15,7 +15,6 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* This file contains tests that walks a question through the immediate feedback
* behaviour.
......@@ -27,6 +26,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once(dirname(__FILE__) . '/../../../engine/lib.php');
require_once(dirname(__FILE__) . '/../../../engine/simpletest/helpers.php');
......
......@@ -25,6 +25,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Question behaviour informaiton items.
*
......
......@@ -25,6 +25,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Renderer for outputting parts of a question belonging to the information
* item behaviour.
......
......@@ -26,6 +26,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once(dirname(__FILE__) . '/../../../engine/lib.php');
require_once(dirname(__FILE__) . '/../../../engine/simpletest/helpers.php');
......
......@@ -26,6 +26,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Question behaviour for the interactive model.
*
......
......@@ -15,7 +15,6 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Renderer for outputting parts of a question belonging to the interactive
* behaviour.
......@@ -27,6 +26,9 @@
*/
defined('MOODLE_INTERNAL') || die();
/**
* Interactive behaviour renderer.
*
......
......@@ -26,6 +26,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once(dirname(__FILE__) . '/../../../engine/lib.php');
require_once(dirname(__FILE__) . '/../../../engine/simpletest/helpers.php');
......
......@@ -26,6 +26,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once(dirname(__FILE__) . '/../interactive/behaviour.php');
......
......@@ -25,6 +25,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once(dirname(__FILE__) . '/../interactive/renderer.php');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment