• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.