Welcome Guest, Not a member yet? Register   Sign In
codeigniter errors
#1

[eluser]Abel A.[/eluser]
I've read the CI user guide for errors and couldn't find a function that displays system errors. For example, if there's an unexpected error I could just use:

Code:
show_error('Something bad happened');

Though that's what I'm currently using, how can I change the error title? or is the message that only thing that can be edited? I'm asking because I don't want to create my own error functions since I really like CI's errors, simple and to the point.
#2

[eluser]Learn CodeIgniter[/eluser]
./system/core/Exceptions.php
Code:
show_error($heading, $message, $template = 'error_general', $status_code = 500)




Theme © iAndrew 2016 - Forum software by © MyBB