ソースを参照

Add 'trace' to the data provided to Debugger formats.
Allows custom debugger output formats to display
a stack trace.

mark_story 14 年 前
コミット
dff45740ea
1 ファイル変更1 行追加0 行削除
  1. 1 0
      lib/Cake/Utility/Debugger.php

+ 1 - 0
lib/Cake/Utility/Debugger.php

@@ -670,6 +670,7 @@ class Debugger {
 				return;
 		}
 
+		$data['trace'] = $trace;
 		$data['id'] = 'cakeErr' . uniqid();
 		$tpl = array_merge($this->_templates['base'], $this->_templates[$this->_outputFormat]);
 		$insert = array('context' => join("\n", $context)) + $data;