aboutsummaryrefslogtreecommitdiff
path: root/includes/functions.php
diff options
context:
space:
mode:
authorjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-23 17:27:27 -0500
committerjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-23 17:27:27 -0500
commitb46318283ca6016f07e3e419f778dd69081ad660 (patch)
treef2f19b2bf158ca4232a87989fde5d54707866f98 /includes/functions.php
parentebda82d787b3620424c1dcf4336146ea06815a55 (diff)
downloadbayonetcms-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 'includes/functions.php')
-rw-r--r--includes/functions.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/includes/functions.php b/includes/functions.php
index 73c506c..4518fa8 100644
--- a/includes/functions.php
+++ b/includes/functions.php
@@ -77,9 +77,10 @@ function bbcode_format ($str)
return $str;
}
- //BBcode 2 HTML was written by WAY2WEB.net
-
- function BBCode($Text)
+/**
+ * BBcode 2 HTML was written by WAY2WEB.net
+ */
+function BBCode($Text)
{
// Replace any html brackets with HTML Entities to prevent executing HTML or script
// Don't use strip_tags here because it breaks [url] search by replacing & with amp
@@ -574,6 +575,7 @@ function GetBlocks($position = BLOCK_LEFT)
OpenBlock($block['title']);
include $load;
CloseBlock();
+ decho("'{$block['dir_name']}' block loaded");
}
else
{