Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
db6017bc
authored
2010-04-15 20:49:27 +0000
by
Chris Boden
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added Debug as an external, auto enabling if TZ_DEBUG is true
1 parent
624476fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
tz-tools.php
tz-tools.php
View file @
db6017b
...
...
@@ -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
)
{
...
...
Please
register
or
sign in
to post a comment