"Correcting path to dump.ctp"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6164 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-12-17 00:35:21 +00:00
parent 68b024e187
commit 649840b91a

View file

@ -409,7 +409,7 @@ class View extends Object {
$debug = '';
if (Configure::read() > 2 && isset($this->viewVars['cakeDebug'])) {
$debug = View::_render(LIBS . 'view' . DS . 'templates' . DS . 'elements' . DS . 'dump.ctp', array('controller' => $this->viewVars['cakeDebug']), false);
$debug = View::_render(LIBS . 'view' . DS . 'elements' . DS . 'dump.ctp', array('controller' => $this->viewVars['cakeDebug']), false);
unset($this->viewVars['cakeDebug']);
}