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

22 lines
490 B
PHP
Raw Normal View History

2014-05-28 17:19:57 +02:00
<?php
2014-06-06 19:31:05 +02:00
/* @var $this MsMainController */
2014-05-28 17:19:57 +02:00
/* @var $error array */
2014-06-10 13:27:17 +02:00
$this->pageTitle='Error [DBG] - ' . Yii::app()->name;
2014-05-28 17:19:57 +02:00
$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),
));
?>