Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed stack trace countdown

  • Loading branch information...
commit f8484b3959fad9eba05f1dd4780c0b06d8211b58 1 parent d7beab1
@Artazor Artazor authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  exception/stack_trace.php
View
2  exception/stack_trace.php
@@ -2,6 +2,8 @@
<?$trace=$this->getWrapTrace()?>
<?if($trace[6]['function'] ==='__assert' && !$trace[6]['args'][0]):?>
<?$countdown=8?>
+<?else:?>
+<?$countdown=0?>
<?endif?>
<?foreach($trace as $n=>$t):?><?$t=(object)$t?>
<?if(--$countdown>0)continue?>
Please sign in to comment.
Something went wrong with that request. Please try again.