equal
deleted
inserted
replaced
904 |
904 |
905 function enano_debug_print_backtrace($return = false) |
905 function enano_debug_print_backtrace($return = false) |
906 { |
906 { |
907 ob_start(); |
907 ob_start(); |
908 echo '<pre>'; |
908 echo '<pre>'; |
909 debug_print_backtrace(); |
909 if ( function_exists('debug_print_backtrace') ) |
|
910 { |
|
911 debug_print_backtrace(); |
|
912 } |
|
913 else |
|
914 { |
|
915 echo '<b>Warning:</b> No debug_print_backtrace() support!'; |
|
916 } |
910 echo '</pre>'; |
917 echo '</pre>'; |
911 $c = ob_get_contents(); |
918 $c = ob_get_contents(); |
912 ob_end_clean(); |
919 ob_end_clean(); |
913 if($return) return $c; |
920 if($return) return $c; |
914 else echo $c; |
921 else echo $c; |