CodeIgniter: New Controller
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Controllername extends CI_Controller {
public function __construct()
{
parent::__construct();
// Your own constructor code
}
public function index()
{
}
}
/* End of file Controllername.php */
/* Location: ./application/controllers/Controllername.php */