summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-09-22 14:31:07 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-22 14:32:41 +0200
commit3ec93bf546c4cfff82f1fb34eeae1f18319c59c1 (patch)
tree6e13cb68b2c55f9b7f735fa32578b6a54d3b2cbf /application
parent260da3941fafbe40877aa2ecb52169b460e0e644 (diff)
Add debugging support for email
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r--application/views/footer.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/application/views/footer.php b/application/views/footer.php
index 0383e195e..a61e690cc 100644
--- a/application/views/footer.php
+++ b/application/views/footer.php
@@ -17,6 +17,13 @@ if (is_cli_client() && !isset($force_full_html)) {
</ul>
</div>
</footer>
+
+<?php
+$CI = &get_instance();
+if ($CI->config->item("environment") == "development" && property_exists($CI, "email")) {
+ echo $CI->email->print_debugger();
+}
+?>
<?php echo include_js("/data/js/jquery-2.0.3.min.js"); ?>
<?php echo include_js("/data/js/jquery-ui-1.10.3.custom.min.js"); ?>
<?php echo include_js("/data/js/bootstrap-2.3.2.min.js"); ?>