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

This commit is contained in:
Tim Hunt
2011-02-23 16:00:20 +00:00
parent 7764183a4a
commit a17b297d60
294 changed files with 713 additions and 4127 deletions
+1 -3
View File
@@ -25,9 +25,7 @@
*/
if (!defined('MOODLE_INTERNAL')) {
die('Direct access to this script is forbidden.');
}
defined('MOODLE_INTERNAL') || die();
require_once($CFG->libdir . '/formslib.php');