If you create a new library where it will be stored in CodeIgniter?

If you create a new library where it will be stored in CodeIgniter?

Team Leader Asked on June 7, 2018 in CODEIGNITER.
Add Comment
1 Answer(s)

Your library classes should be placed within your application/libraries directory, as this is where CodeIgniter will look for them when they are initialized.

 

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 
class Demolibrary {
public function test() {
}
}
/* End of file Demolibrary.php */
IT Head Answered on July 4, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.