|
| |
1 |
1 |
<?php |
|
| |
2 |
2 |
|
|
| |
3 |
3 |
if( file_exists('debug.php') ) include_once('debug.php'); |
|
| |
|
4 |
|
|
| |
4 |
5 |
if( defined('DEBUG_MODE') ) |
|
| |
5 |
6 |
{ |
|
| |
6 |
|
error_reporting(E_ALL); |
|
| |
|
7 |
ini_set('error_prepend_string','<span class="debug_text">'); |
|
| |
|
8 |
ini_set('error_append_string','</span>'); |
|
| |
7 |
9 |
} |
|
| |
8 |
10 |
else |
|
| |
9 |
11 |
error_reporting(0); |