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 { ...@@ -20,7 +20,11 @@ class TzTools {
20 20
21 // This is (hopefully) getting canned in 3.0 21 // This is (hopefully) getting canned in 3.0
22 add_action('widgets_init', Array('MenuWidget', 'init')); 22 add_action('widgets_init', Array('MenuWidget', 'init'));
23
23 self::import('ShortCodes'); 24 self::import('ShortCodes');
25 if (defined('TZ_DEBUG') && TZ_DEBUG === true) {
26 self::import('Debug');
27 }
24 } 28 }
25 29
26 public static function import($com) { 30 public static function import($com) {
......