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
+2 -1
View File
@@ -15,7 +15,6 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Code for exporting questions as Moodle XML.
*
@@ -26,6 +25,8 @@
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . '/question/format.php');
require_once($CFG->libdir . '/xmlize.php');