used unset to remove $this->db from the printed object

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@272 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2005-06-23 00:27:37 +00:00
parent 27d16ff9b9
commit 77d259860c
3 changed files with 12 additions and 3 deletions

View file

@ -19,6 +19,9 @@ view file, a user-customizable error page for handling invalid action dispatches
<?if (DEBUG>1):?> <?if (DEBUG>1):?>
<h2>Controller dump:</h2> <h2>Controller dump:</h2>
<pre> <pre>
<? print_r($this); ?> <?
unset($this->db);
print_r($this);
?>
</pre> </pre>
<?endif?> <?endif?>

View file

@ -16,6 +16,9 @@ view file, a user-customizable error page for handling invalid controller dispat
<?if (DEBUG>1):?> <?if (DEBUG>1):?>
<h2>Controller dump:</h2> <h2>Controller dump:</h2>
<pre> <pre>
<? print_r($this); ?> <?
unset($this->db);
print_r($this);
?>
</pre> </pre>
<?endif?> <?endif?>

View file

@ -18,6 +18,9 @@ action <em><?=$this->params['controller'];?>::<?=$this->params['action'];?></em>
<?if (DEBUG>1):?> <?if (DEBUG>1):?>
<h2>Controller dump:</h2> <h2>Controller dump:</h2>
<pre> <pre>
<? print_r($this); ?> <?
unset($this->db);
print_r($this);
?>
</pre> </pre>
<?endif?> <?endif?>