Files
GestioneSpiaggia.it/application/modules/default/views/scripts/error/error.phtml
T
2021-09-17 12:41:45 +02:00

34 lines
1.1 KiB
PHTML

<?php if ($this->responseCode == 404): ?>
<section class="ptb-80 bbs1 bc-light">
<div class="container">
<h2 class="heading-thick mb-30">404 <span> - Pagina non Trovata</span></h2>
<p>La pagina che stavi cercando di raggiungere a questo indirizzo sembra non esistere.<br>
Questo è di solito il risultato di un link errato o non aggiornato.</p>
<a href="<?= $this->url(array(),'default',true); ?>" class="btn btn-theme btn-theme-primary">Vai alla home del sito!</a>
</div><!-- End Container -->
</section><!-- End Section -->
<?php else: ?>
<h1>Si è verificato un errore</h1>
<h2><?php echo $this->message ?></h2>
<?php endif; ?>
<?php if (isset($this->exception) && $this->allowedIp): ?>
<h3>Exception information:</h3>
<p>
<b>Message:</b> <?php echo $this->exception->getMessage() ?>
</p>
<h3>Stack trace:</h3>
<pre><?php echo $this->exception->getTraceAsString() ?>
</pre>
<h3>Request Parameters:</h3>
<pre><?php echo $this->escape(var_export($this->request->getParams(), true)) ?>
</pre>
<?php endif ?>