Added a new defined constant to moodlelib.php, to be used by scripts with
php extensions that should not be called directly. See SC19 Constant: MOODLE_INTERNAL
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user