summaryrefslogtreecommitdiff
path: root/create_config_inc.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-04-21 13:07:43 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-04-21 13:07:43 +0000
commit9ba143a45f146e90d074dfd200b738deac4f4bd1 (patch)
tree7b9c22d63981ef7ce4c6f07bfe952d8a74cbe833 /create_config_inc.php
parent9355b387c63d05e666bef9a7b40b83c1dc8fe245 (diff)
downloadinstall-9ba143a45f146e90d074dfd200b738deac4f4bd1.tar.gz
install-9ba143a45f146e90d074dfd200b738deac4f4bd1.tar.bz2
install-9ba143a45f146e90d074dfd200b738deac4f4bd1.zip
add option to output templates used as an HTML comment
Diffstat (limited to 'create_config_inc.php')
-rw-r--r--create_config_inc.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/create_config_inc.php b/create_config_inc.php
index cc5c681..0788a2d 100644
--- a/create_config_inc.php
+++ b/create_config_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/create_config_inc.php,v 1.8 2006/02/19 21:23:13 lsces Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/create_config_inc.php,v 1.9 2006/04/21 13:07:43 squareing Exp $
* @package install
* @subpackage functions
*/
@@ -107,6 +107,15 @@ define( 'BIT_ROOT_URL', '$root_url_bit' );
\$smarty_force_compile = FALSE;
+// Setting TEMPLATE_DEBUG = TRUE will output <!-- <called templates> --> in your templates, which will
+// allow you to track all used templates in the HTML source of the page. This will also disable
+// stripping of whitespace making it easier to read the templates. You will only see the effect
+// of the strip changes by clearing out your cache or setting \$smarty_force_compile = TRUE;
+// Note: be sure to set this to FALSE and clear out the cache once done since it will increase the page
+// size by at least 10%.
+//define( 'TEMPLATE_DEBUG', TRUE );
+
+
// This statement will enable you to view all database queries made
//\$gDebug = TRUE;