db6017bc by Chris Boden

Added Debug as an external, auto enabling if TZ_DEBUG is true

1 parent 624476fc
......@@ -20,7 +20,11 @@ class TzTools {
// This is (hopefully) getting canned in 3.0
add_action('widgets_init', Array('MenuWidget', 'init'));
self::import('ShortCodes');
if (defined('TZ_DEBUG') && TZ_DEBUG === true) {
self::import('Debug');
}
}
public static function import($com) {
......