Browse Source

Allow GITHUB_API_LEVEL to be predefined in wp-config.php

widget
Lee Willis 8 years ago
parent
commit
1934d3e448
  1. 10
      github-api.php

10
github-api.php

@ -2,17 +2,19 @@
// 0 - none
// 0 - none.
define( 'GEDEBUG_NONE', 0 );
// 1 - call logging only
// 1 - call logging only.
define( 'GEDEBUG_CALL', 1 );
// 2 - calls, and responses
// 2 - calls, and responses.
define( 'GEDEBUG_RESP', 2 );
// Selected debug level
// Selected debug level.
if ( ! defined( 'GITHUB_API_LEVEL' ) ) {
define( 'GITHUB_API_LEVEL', GEDEBUG_NONE );
}
/**

Loading…
Cancel
Save