mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixed debug output style for displaying whitespace
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6016 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
6f38be85f4
commit
f9e8e82b5b
3 changed files with 1 additions and 5 deletions
|
@ -364,7 +364,6 @@ pre.cake-debug {
|
|||
margin-top: 1em;
|
||||
overflow: auto;
|
||||
position: relative;
|
||||
white-space: normal;
|
||||
}
|
||||
div.cake-stack-trace {
|
||||
background: #fff;
|
||||
|
|
|
@ -289,9 +289,7 @@ if (!function_exists('clone')) {
|
|||
print "<strong>".substr(r(ROOT, "", $calledFrom[0]['file']), 1)."</strong> (line <strong>".$calledFrom[0]['line']."</strong>)";
|
||||
}
|
||||
print "\n<pre class=\"cake-debug\">\n";
|
||||
ob_start();
|
||||
print_r($var);
|
||||
$var = ob_get_clean();
|
||||
$var = print_r($var, true);
|
||||
|
||||
if ($showHtml) {
|
||||
$var = str_replace('<', '<', str_replace('>', '>', $var));
|
||||
|
|
|
@ -364,7 +364,6 @@ pre.cake-debug {
|
|||
margin-top: 1em;
|
||||
overflow: auto;
|
||||
position: relative;
|
||||
white-space: normal;
|
||||
}
|
||||
div.cake-stack-trace {
|
||||
background: #fff;
|
||||
|
|
Loading…
Reference in a new issue