1
0
Fork 0
MySQLDumper/application/views/scripts/error/error.phtml

54 Zeilen
1,2 KiB
PHTML

2011-06-10 21:55:32 +00:00
<?php
echo $this->doctype();
$version = new Msd_Version();
?>
<html>
<head>
<title>MySQLDumper <?php echo $version->getMsdVersion();?> Error</title>
<?php
echo $this->headMeta() . "\n";
echo $this->headScript() . "\n";
?>
</head>
<body>
<?php
//if ($this->displayErrors == 1) {
2011-06-10 21:55:32 +00:00
?>
<h1>An error occurred</h1>
<h2><?php echo $this->message ?></h2>
<?php if (isset($this->exception)): ?>
<h3>Exception information:</h3>
<p>
<b>Message:</b> <?php echo $this->exception->getMessage() ?>
<br>
Controller:
<span id="controller">
<?php echo $this->request->getParam('controller'); ?>
</span>
<br>
Action:
<span id="action">
<?php echo $this->request->getParam('action'); ?>
</span>
<br>
Module:
<span id="module">
<?php echo $this->request->getParam('module'); ?>
</span>
</p>
<h3>Stack trace:</h3>
<pre><?php echo $this->exception->getTraceAsString() ?>
</pre>
<h3>Request Parameters:</h3>
<pre><?php echo var_export($this->request->getParams(), true) ?>
</pre>
<?php endif;
//}
2011-06-10 21:55:32 +00:00
?>
</body>
</html>