diff options
author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2009-12-23 17:27:27 -0500 |
---|---|---|
committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2009-12-23 17:27:27 -0500 |
commit | b46318283ca6016f07e3e419f778dd69081ad660 (patch) | |
tree | f2f19b2bf158ca4232a87989fde5d54707866f98 /modules.php | |
parent | ebda82d787b3620424c1dcf4336146ea06815a55 (diff) | |
download | bayonetcms-b46318283ca6016f07e3e419f778dd69081ad660.tar.gz |
More debugging related code has been added.
Modules and block now report when they have loaded.
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@396 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'modules.php')
-rw-r--r-- | modules.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules.php b/modules.php index 9cd6350..c35a351 100644 --- a/modules.php +++ b/modules.php @@ -70,6 +70,7 @@ if(isset($load) && !empty($load) && !isset($file)) if(file_exists("modules/" . $load)) { include 'modules/' . $load . '/index.php'; + decho("'$load' module loaded"); } else { @@ -86,8 +87,9 @@ elseif(isset($load) && isset($file)) $run = "modules/" . $load . "/" . $file; if(file_exists($run)) - { - include $run; + { + include $run; + decho("Loaded '$file' file from $load module"); } else { |