From b46318283ca6016f07e3e419f778dd69081ad660 Mon Sep 17 00:00:00 2001 From: jhunkeler Date: Wed, 23 Dec 2009 22:27:27 +0000 Subject: 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 --- includes/functions.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'includes/functions.php') 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 { -- cgit