aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-19 14:12:35 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-19 14:12:35 +0000
commit1f851e08ba9274fa524db6f75b2c2cc21ec4dcf2 (patch)
treec508d6c61e6bb80c69df42a089b00dea2fa33f52 /views
parent386ae51928196b85b371ced288ccbf9393ff89c7 (diff)
downloadelgg-1f851e08ba9274fa524db6f75b2c2cc21ec4dcf2.tar.gz
elgg-1f851e08ba9274fa524db6f75b2c2cc21ec4dcf2.tar.bz2
Refs #256: Basic installation parameters checked.
Fixes #266: If the install flag isn't set then elgg_view will no longer attempt to load data from the database. git-svn-id: https://code.elgg.org/elgg/trunk@2016 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/failsafe/messages/exceptions/exception.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/failsafe/messages/exceptions/exception.php b/views/failsafe/messages/exceptions/exception.php
index 5b637ad95..020f4fa08 100644
--- a/views/failsafe/messages/exceptions/exception.php
+++ b/views/failsafe/messages/exceptions/exception.php
@@ -21,19 +21,19 @@
<span title="<?php echo get_class($vars['object']); ?>">
<?php
- echo autop($vars['object']->getMessage());
+ echo nl2br($vars['object']->getMessage());
?>
</span>
</p>
- <?php if ($CONFIG->debug) { ?>
- <!-- <hr /> -->
+ <?php if ($CONFIG->debug) { ?>
+
<p class="messages-exception-detail" style="background:#FDFFC3;display:block;padding:10px;">
<?php
- echo autop(htmlentities(print_r($vars['object'], true), null, 'UTF-8'));
+ echo nl2br(htmlentities(print_r($vars['object'], true), null, 'UTF-8'));
?>
</p>
- <?php } ?> \ No newline at end of file
+ <?php } ?> \ No newline at end of file