• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IgnitedRecord and Matchbox incompatible?

Has anybody managed to get these two to play nicely together? If I try and use the Matchbox Loader.php library replacement I get

Fatal error: Class 'ignitedrecord/ignitedrecord' not found in /Users/Gaz/Sites/katana_cms/application/libraries/Loader.php on line 1078


It seems like the Loader of Matchbox doesn't have support for libraries in subdirs (I haven't tried Matchbox).

One fix is to upgrade the loader so it can handle that (but I don't know if Matchbox has support for this) and here is another one:

Create this file:
require_once 'ignitedrecord/ignitedrecord.php';

/* End of file ignitedrecord.php */
/* Location: ./application/libraries/ignitedrecord.php */
Then you load IgnitedRecord with $this->load->library('ignitedrecord'); (no subdir).

OK, nice one.

Thanks for the help, and of course IR!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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