Merged new MOODLE_INTERNAL constant from stable, used to prevent

direct access to some scripts
This commit is contained in:
moodler
2004-12-12 04:33:13 +00:00
parent 4989c4172a
commit 6b94a807d2
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
<?php defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.'); ?>
<script language="JavaScript" type="text/javascript"
src="<?php echo "$CFG->wwwroot/lib/overlib.js" ?>"></script>