How do I include external Libraries in CodeIgniter?

Posted by user259954 on Stack Overflow See other posts from Stack Overflow or by user259954
Published on 2010-02-25T20:33:15Z Indexed on 2010/04/29 5:47 UTC
Read the original article Hit count: 273

I'm new to codeigniter, and I'm trying to integrate amazon's FPS into my page. There are a bunch of libraries and models that go with Amazon FPS, which I would need included to make the appropriate calls.

How do I include them in CodeIgniter?

I tried placing the entire Amazon folder inside the system/libraries directory, and then tried including libraries with $this->load->library( 'Amazon/FPS/Client' ); However, I run into problems with the relative path there, because Client.php contains the statement require_once ('Amazon/FPS/Interface.php'); ... which is in the same folder.

There has to be a better way to do all this - can anyone please help?

Thanks!!

© Stack Overflow or respective owner

Related posts about codeigniter

Related posts about amazon-web-services