(11-20-2017, 03:26 PM)dave friend Wrote: Why? Are you afraid a developer is going to use it in a view?
That's the main reason for it indeed. We're working with developers we don't personally know and it's just too easy to print the database password right now. I've already solved the issue by implementing a template engine.
However, for security reasons it would be very recommendable if a new version of CI would have the option to prohibit accessing get_instance from views.