Welcome Guest, Not a member yet? Register   Sign In
Where to put plain object classes?
#35

Quote:will mean you have to include/require system/core/Model.php or you get this error:


Code:
Code:
Fatal error: Class 'CI_Model' not found in /var/www/erep-v4/application/models/Test_model.php on line 2

What? I don't know what you have done but you don't need to include anything to use a model!
Reply


Messages In This Thread
Where to put plain object classes? - by geekita - 12-02-2014, 05:51 AM
RE: Where to put plain object classes? - by includebeer - 01-01-2015, 12:30 PM
RE: Where to put plain object classes? - by Jamie - 01-06-2015, 05:18 AM
RE: Where to put plain object classes? - by Jamie - 01-06-2015, 03:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB