Permalink
Browse files

MDL-31636 redirect debugging to error log for ajax

  • Loading branch information...
1 parent ff7a518 commit 5fef447ee35a2cd4be3fda8bb1f6dc9af249f803 @nebgor nebgor committed with damyon Feb 18, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 comment/comment_ajax.php
View
@@ -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');

0 comments on commit 5fef447

Please sign in to comment.