includes/functions.php
changeset 19 5d003b6c9e89
parent 16 64e0d3d4cf14
child 21 663fcf528726
--- a/includes/functions.php	Sat Jun 23 10:38:24 2007 -0400
+++ b/includes/functions.php	Sat Jun 23 18:54:16 2007 -0400
@@ -906,7 +906,14 @@
 {
   ob_start();
   echo '<pre>';
-  debug_print_backtrace();
+  if ( function_exists('debug_print_backtrace') )
+  {
+    debug_print_backtrace();
+  }
+  else
+  {
+    echo '<b>Warning:</b> No debug_print_backtrace() support!';
+  }
   echo '</pre>';
   $c = ob_get_contents();
   ob_end_clean();