Added Debug as an external, auto enabling if TZ_DEBUG is true
Showing
1 changed file
with
4 additions
and
0 deletions
| ... | @@ -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) { | ... | ... |
-
Please register or sign in to post a comment