View Single Post
  #1 (permalink)  
Old 03-02-2008, 09:34 PM
notrub225 notrub225 is offline
Senior Member
 
Join Date: Jan 2008
Location: chicago
Posts: 101
Smile Tip to make error messages easier to read!

Here are two lines of code that will make your error messages easier to read. These two lines should be put in your bootstrap file:

// Make error messages easier to read
ini_set('error_prepend_string', '<pre>');
ini_set('error_append_string', '</pre>');

What it simply does is wrap the error message in <pre> tags so that line breaks remain intact
Reply With Quote