Permalink
Browse files

direct access to script forbidden SC#58

  • Loading branch information...
1 parent 52b38b1 commit 157d9457f2bb0fecc62ae5e245e4b6a35e83e375 skodak committed Jan 29, 2005
Showing with 11 additions and 1 deletion.
  1. +4 −0 mod/quiz/jsclock.php
  2. +3 −1 mod/quiz/jstimer.php
  3. +4 −0 mod/quiz/view_js.php
View
@@ -1,3 +1,7 @@
+<?php // $Id$
+defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.');
+?>
+
<script language="javascript">
<!--
/// This Javascript clock provides a little countdown in the title bar
View
@@ -3,7 +3,9 @@
// This will produce a floating timer that counts
// how much time is left to answer the quiz.
//
- ?>
+defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.');
+?>
+
<script language="javascript" type="text/javascript">
<!--
function send_data() {
View
@@ -1,3 +1,7 @@
+<?php // $Id$
+defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.');
+?>
+
<script language="javascript" type="text/javascript">
<!--
document.write('<form action="attempt.php" method="get"' +

0 comments on commit 157d945

Please sign in to comment.