jordanmaslyn
6/1/2012 - 9:02 PM

CodeIgniter: New Controller

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 */