mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
27d16ff9b9
commit
77d259860c
3 changed files with 12 additions and 3 deletions
|
@ -19,6 +19,9 @@ view file, a user-customizable error page for handling invalid action dispatches
|
|||
<?if (DEBUG>1):?>
|
||||
<h2>Controller dump:</h2>
|
||||
<pre>
|
||||
<? print_r($this); ?>
|
||||
<?
|
||||
unset($this->db);
|
||||
print_r($this);
|
||||
?>
|
||||
</pre>
|
||||
<?endif?>
|
|
@ -16,6 +16,9 @@ view file, a user-customizable error page for handling invalid controller dispat
|
|||
<?if (DEBUG>1):?>
|
||||
<h2>Controller dump:</h2>
|
||||
<pre>
|
||||
<? print_r($this); ?>
|
||||
<?
|
||||
unset($this->db);
|
||||
print_r($this);
|
||||
?>
|
||||
</pre>
|
||||
<?endif?>
|
|
@ -18,6 +18,9 @@ action <em><?=$this->params['controller'];?>::<?=$this->params['action'];?></em>
|
|||
<?if (DEBUG>1):?>
|
||||
<h2>Controller dump:</h2>
|
||||
<pre>
|
||||
<? print_r($this); ?>
|
||||
<?
|
||||
unset($this->db);
|
||||
print_r($this);
|
||||
?>
|
||||
</pre>
|
||||
<?endif?>
|
Loading…
Reference in a new issue