Created
June 1, 2012 21:02
-
-
Save jordanmaslyn/2855137 to your computer and use it in GitHub Desktop.
CodeIgniter: New Controller
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment