Rss

Codeigniter Model Autoloading

Put this into config/config.php:

Now you can use your model like this:

Of course you can use the old style model too. But you have to use:

or you won’t be able to use it.

Previous Post

Leave a Reply

Your email address will not be published. Required fields are marked *