|
|
@@ -77,8 +77,8 @@ class Debugger {
|
|
|
'links' => array()
|
|
|
),
|
|
|
'html' => array(
|
|
|
- 'trace' => '<pre class="cake-debug trace"><b>Trace</b> <p>{:trace}</p></pre>',
|
|
|
- 'context' => '<pre class="cake-debug context"><b>Context</b> <p>{:context}</p></pre>'
|
|
|
+ 'trace' => '<pre class="cake-error trace"><b>Trace</b> <p>{:trace}</p></pre>',
|
|
|
+ 'context' => '<pre class="cake-error context"><b>Context</b> <p>{:context}</p></pre>'
|
|
|
),
|
|
|
'txt' => array(
|
|
|
'error' => "{:error}: {:code} :: {:description} on line {:line} of {:path}\n{:info}",
|
|
|
@@ -114,7 +114,7 @@ class Debugger {
|
|
|
define('E_RECOVERABLE_ERROR', 4096);
|
|
|
}
|
|
|
|
|
|
- $e = '<pre class="cake-debug">';
|
|
|
+ $e = '<pre class="cake-error">';
|
|
|
$e .= '<a href="javascript:void(0);" onclick="document.getElementById(\'{:id}-trace\')';
|
|
|
$e .= '.style.display = (document.getElementById(\'{:id}-trace\').style.display == ';
|
|
|
$e .= '\'none\' ? \'\' : \'none\');"><b>{:error}</b> ({:code})</a>: {:description} ';
|
|
|
@@ -149,11 +149,11 @@ class Debugger {
|
|
|
$this->_templates['js']['code'] = '<pre id="{:id}-code" class="cake-code-dump" ';
|
|
|
$this->_templates['js']['code'] .= 'style="display: none;">{:code}</pre>';
|
|
|
|
|
|
- $e = '<pre class="cake-debug"><b>{:error}</b> ({:code}) : {:description} ';
|
|
|
+ $e = '<pre class="cake-error"><b>{:error}</b> ({:code}) : {:description} ';
|
|
|
$e .= '[<b>{:path}</b>, line <b>{:line}]</b></pre>';
|
|
|
$this->_templates['html']['error'] = $e;
|
|
|
|
|
|
- $this->_templates['html']['context'] = '<pre class="cake-debug context"><b>Context</b> ';
|
|
|
+ $this->_templates['html']['context'] = '<pre class="cake-context"><b>Context</b> ';
|
|
|
$this->_templates['html']['context'] .= '<p>{:context}</p></pre>';
|
|
|
}
|
|
|
|