1. Harro Verton
  2. CodeIgniter Reactor

Commits

Greg Aker  committed 849bdda

Removing the unnecessary constructor in the welcome controller. Also added comments in the index method that may help users new to CodeIgniter.

  • Participants
  • Parent commits 8af0fb0
  • Branches default

Comments (0)

Files changed (1)

File application/controllers/welcome.php

View file
  • Ignore whitespace
 
 class Welcome extends CI_Controller {
 
-	function __construct()
-	{
-		parent::__construct();
-	}
-
-	function index()
+	public function index()
 	{
 		$this->load->view('welcome_message');
 	}