CodeIgniter Forums
change warning messages - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: change warning messages (/showthread.php?tid=8650)



change warning messages - El Forum - 05-26-2008

[eluser]VSz[/eluser]
Maybe I wasn't paying enough attention, but I could not find out how to customize error messages such as "The URI you submitted has disallowed characters."
Is there a way to redirect to a view instead, just like in the validation lib?


change warning messages - El Forum - 05-26-2008

[eluser]Pascal Kriete[/eluser]
Hehe, I've never noticed that. It's a very simple change to make.

In system/libraries/uri.php around line 191 change exit('...') to show_error('...') . Would make a good feature request though.