summaryrefslogtreecommitdiff
path: root/error.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-02-20 05:29:52 +0100
committerAndrew Dolgov <[email protected]>2006-02-20 05:29:52 +0100
commit91d612b39e1dcc3b25d707019a071506d08f9dd5 (patch)
treebdfa76de8eea585a1c0d3f93f78741e34f17f9d3 /error.php
parent2f3c902cdc9683457732ca831b0d9b359eb6e939 (diff)
print additional info on fatalError(3)
Diffstat (limited to 'error.php')
-rw-r--r--error.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/error.php b/error.php
index cc57b64db..8c5a6a4b5 100644
--- a/error.php
+++ b/error.php
@@ -62,7 +62,12 @@
<h1>Fatal Error</h1>
- <div class="bigErrorMsg"><?= $ERRORS[$_GET["c"]] ?></div>
+ <div class="bigErrorMsg"><?= $ERRORS[$_GET["c"]] ?>
+
+ <? if ($_GET["p"]) { ?>
+ <p><?= htmlspecialchars($_GET["p"]) ?></p>
+ <? } ?>
+ </div>
</td>
</tr>