|
|||
|
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 ![]() |
|
|||
|
Nice one, been looking for that kind of code =)
In the background what does it do? Does ZF ask for "error_prepend/append_string" when it it throws an error? I did create my own php loop to take care of it but this was easier for sure =) ....though the long error messages will go out of screen on your right, is there someway to wrap lines aswell? Thanks for the tip. |
|
|||
|
Quote:
Yes, you could maybe make the font size really small. PHP Code:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|