mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-20693 new NO_DEBUG_DISPLAY define
This commit is contained in:
parent
3c1ea58b46
commit
2e9b772fb8
16 changed files with 87 additions and 88 deletions
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
|
||||
// disable moodle specific debug messages and any errors in output
|
||||
define('NO_DEBUG_DISPLAY', true);
|
||||
|
||||
require_once("../../config.php");
|
||||
require_once("lib.php");
|
||||
|
||||
// disable moodle specific debug messages
|
||||
disable_debugging();
|
||||
|
||||
$id = required_param('id', PARAM_INT); // Course Module ID
|
||||
|
||||
$l = optional_param('l','', PARAM_ALPHANUM);
|
||||
|
@ -42,4 +42,3 @@ $content = glossary_generate_export_file($glossary,$l,$cat);
|
|||
|
||||
send_file($content, $filename, 0, 0, true, true);
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue