Added a small security check

This commit is contained in:
moodler
2004-03-20 04:04:15 +00:00
parent 4dfdf6bc6b
commit 36ec6afea6
+4
View File
@@ -10,6 +10,10 @@
//
//////////////////////////////////////////////////////////////
if (!isset($CFG->wwwroot)) {
die;
}
/// If there are any errors in the standard libraries we want to know!
error_reporting(E_ALL);