1
0
www.mikescher.com/www/protected/views/msmain/debugerror.php

22 lines
482 B
PHP
Raw Normal View History

2014-05-28 17:19:57 +02:00
<?php
/* @var $this SiteController */
/* @var $error array */
$this->pageTitle=Yii::app()->name . ' - Error';
$this->breadcrumbs=array(
'Error (debug)',
);
$content = $message. "\n\n" .
'File: <code>' . $file. '</code> : <code>' . $line . "</code>\n\n" .
"Stacktrace:\n" .
'<div class="well">' . $trace . '</div>' . "\n";
$this->widget('bootstrap.widgets.TbHeroUnit', array(
'heading' => 'ERROR ' . $type . ': ' . $code,
'content' => nl2br($content),
));
?>