File indexing completed on 2025-01-12 05:19:10

0001 <?php 
0002 /**
0003  *  ocs-webserver
0004  *
0005  *  Copyright 2016 by pling GmbH.
0006  *
0007  *    This file is part of ocs-webserver.
0008  *
0009  *    This program is free software: you can redistribute it and/or modify
0010  *    it under the terms of the GNU Affero General Public License as
0011  *    published by the Free Software Foundation, either version 3 of the
0012  *    License, or (at your option) any later version.
0013  *
0014  *    This program is distributed in the hope that it will be useful,
0015  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
0016  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0017  *    GNU Affero General Public License for more details.
0018  *
0019  *    You should have received a copy of the GNU Affero General Public License
0020  *    along with this program.  If not, see <http://www.gnu.org/licenses/>.
0021  **/
0022 ?>
0023 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
0024 <html xmlns="http://www.w3.org/1999/xhtml">
0025 <head>
0026     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
0027     <title>Zend Framework Default Application</title>
0028 </head>
0029 <body>
0030 <h1>An error occurred</h1>
0031 
0032 <h2><?php echo $this->message ?></h2>
0033 
0034 <?php if ('development' == APPLICATION_ENV || 'testing' == APPLICATION_ENV): ?>
0035 
0036     <div>
0037     <h3>Exception information:</h3>
0038     <p>
0039         <b>Message:</b> <?php echo $this->exception->getMessage() ?>
0040     </p>
0041 
0042     <h3>Stack trace:</h3>
0043     <pre><?php echo $this->exception->getTraceAsString() ?></pre>
0044 
0045     <h3>Request Parameters:</h3>
0046     <pre><?php echo var_export($this->request->getParams(), true) ?></pre>
0047     </div>
0048 <?php endif ?>
0049 
0050 </body>
0051 </html>