aboutsummaryrefslogtreecommitdiff
path: root/views/opendd/messages/exceptions/exception.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/opendd/messages/exceptions/exception.php')
-rw-r--r--views/opendd/messages/exceptions/exception.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/views/opendd/messages/exceptions/exception.php b/views/opendd/messages/exceptions/exception.php
new file mode 100644
index 000000000..38afbee58
--- /dev/null
+++ b/views/opendd/messages/exceptions/exception.php
@@ -0,0 +1,31 @@
+<?php
+
+ /**
+ * Elgg exception
+ * Displays a single exception
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ *
+ * @uses $vars['object'] An exception
+ */
+
+ global $CONFIG;
+?>
+<!--
+<?php echo get_class($vars['object']); ?>: <?php echo autop($vars['object']->getMessage()); ?>
+
+
+<?php if ($CONFIG->debug) { ?>
+<?php
+
+ echo print_r($vars['object'], true);
+
+ ?>
+<?php } ?>
+
+--> \ No newline at end of file