initial setup of framework code
[cacert-mgr.git] / manager / application / views / scripts / error / error.phtml
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>Zend Framework Default Application</title>
6 </head>
7 <body>
8 <h1>An error occurred</h1>
9 <h2><?php echo $this->message ?></h2>
10
11 <?php if ('development' == APPLICATION_ENV): ?>
12
13 <h3>Exception information:</h3>
14 <p>
15 <b>Message:</b> <?php echo $this->exception->getMessage() ?>
16 </p>
17
18 <h3>Stack trace:</h3>
19 <pre><?php echo $this->exception->getTraceAsString() ?>
20 </pre>
21
22 <h3>Request Parameters:</h3>
23 <pre><?php echo var_export($this->request->getParams(), true) ?>
24 </pre>
25 <?php endif ?>
26
27 </body>
28 </html>