Last active
December 12, 2015 03:29
-
-
Save infurno/4707490 to your computer and use it in GitHub Desktop.
This is an example CI 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 #CONTROLERNAME extends MY_Controller { | |
| public function #ACTION() | |
| { | |
| //code here .... | |
| $this->load->view('welcome_message'); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment