Permalink
Browse files

in debug mode the database output results are saved to the MODX syste…

…m event log
  • Loading branch information...
1 parent cc9d438 commit b6bee47374a91023f1bfb71da05130e71ebb2be9 Sammyboy committed Jan 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 xdbfilter.php
View
@@ -227,7 +227,7 @@
}
if ($xdb->xdbconfig['debug']) {
- file_put_contents(MODX_BASE_PATH.XDBFILTER_PATH.'output.txt', var_export($allrows,true));
+ $modx->logEvent(3, 1, "<pre>".htmlentities(var_export($allrows,true))."</pre>" , 'xdbfilter');
}
if (isset($xdb->xdbconfig['clear'])) {

0 comments on commit b6bee47

Please sign in to comment.