Index: trunk/index.php
===================================================================
diff -u -r13 -r274
--- trunk/index.php	(.../index.php)	(revision 13)
+++ trunk/index.php	(.../index.php)	(revision 274)
@@ -1,9 +1,11 @@
 <?php
 
 if( file_exists('debug.php') ) include_once('debug.php');
+
 if( defined('DEBUG_MODE') )
 {
-	error_reporting(E_ALL);
+	ini_set('error_prepend_string','<span class="debug_text">');
+	ini_set('error_append_string','</span>');
 }
 else
 	error_reporting(0);