Commit 39986ff1 authored by Dave Lane's avatar Dave Lane
Browse files

disabled debugging

parent b48aa262
......@@ -65,7 +65,7 @@ define('BFF_ADMIN_STYLE', 'bff-admin-style');
// other useful parameters
define('BFF_MAX_FILE_READ_CHAR', 1000000); // limit max size of the file to read to 1mb
// turn on debugging with true, off with false
define('BFF_DEBUG', true);
define('BFF_DEBUG', false);
define('LOG_STREAM', getenv('LOG_STREAM'));
// include the dependencies
......
// see http://solislab.com/blog/5-tips-for-using-ajax-in-wordpress/
// and https://pippinsplugins.com/using-ajax-your-plugin-wordpress-admin/
var DEBUG = true; // set to false to disable debugging
var DEBUG = false; // set to false to disable debugging
function LOG() { if (DEBUG) { console.log.apply(this, arguments); }}
LOG('BFF-Admin DEBUG =', DEBUG); // only prints if DEBUG = true
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment