ktm
ktm

Reputation: 6085

how to use third party script with codeigniter

i have got third polling scripts which has it's own admin panel, i want to integrate with my existing codeigniter site, what is the best way to iplement it ?

Upvotes: 0

Views: 3772

Answers (2)

aphoe
aphoe

Reputation: 2716

  1. Copy the files of the 3rd party script into a folder application/third_party
  2. Refer to the script using require_once APPPATH . '/third_party/script_folder/script.main.class.php';

Upvotes: 0

akpb
akpb

Reputation: 301

You should put the polling script into application/libraries and then initialize it using $this->load->library('yourclass'); Here is the documentation from the user guide.

Upvotes: 1

Related Questions