Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Renamed constant, added 10px margin to backtrace

  • Loading branch information...
commit 5160cc9a869e27a696f93f64127eef15c54f5d64 1 parent 8bf0038
Timothy Warren authored
2  application/config/constants.php
@@ -46,7 +46,7 @@
46 46
 | of this setting
47 47
 |
48 48
 */
49  
-define('SHOW_ERROR_BACKTRACE', TRUE);
  49
+define('SHOW_DEBUG_BACKTRACE', TRUE);
50 50
 
51 51
 
52 52
 /* End of file constants.php */
4  application/errors/error_php.php
@@ -7,13 +7,13 @@
7 7
 <p>Filename: <?php echo $filepath; ?></p>
8 8
 <p>Line Number: <?php echo $line; ?></p>
9 9
 
10  
-<?php if(defined('SHOW_ERROR_BACKTRACE') && SHOW_ERROR_BACKTRACE === TRUE): ?>
  10
+<?php if(defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
11 11
 	
12 12
 	<p>Backtrace: </p>
13 13
 	<?php foreach(debug_backtrace() as $error): ?>
14 14
 	
15 15
 		<?php if(isset($error['file']) &&  ! stristr($error['file'], SYSDIR)): ?>
16  
-			<p>
  16
+			<p style="margin-left:10px">
17 17
 			File: <?php echo $error['file'] ?><br />
18 18
 			Line: <?php echo $error['line'] ?><br />
19 19
 			Function: <?php echo $error['function'] ?>

0 notes on commit 5160cc9

Please sign in to comment.
Something went wrong with that request. Please try again.