From 6c847bbb9ef6d1e5fcf4c3d9bb3ab3ccfc69386c Mon Sep 17 00:00:00 2001 From: Aparup Banerjee Date: Mon, 18 Feb 2013 16:40:22 +0800 Subject: [PATCH] MDL-31636 redirect debugging to error log for ajax --- comment/comment_ajax.php | 1 + 1 file changed, 1 insertion(+) diff --git a/comment/comment_ajax.php b/comment/comment_ajax.php index 131a803888e..c1fe37c00bd 100644 --- a/comment/comment_ajax.php +++ b/comment/comment_ajax.php @@ -22,6 +22,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ define('AJAX_SCRIPT', true); +define('NO_DEBUG_DISPLAY', true); require_once('../config.php'); require_once($CFG->dirroot . '/comment/lib.php'); -- 2.43.0