blob: 21bef43d91a00286580c88323a7994d40d67dacd [file] [log] [blame]
Greg Aker4abfa682010-11-10 14:44:26 -06001<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
Derek Allard2067d1a2008-11-13 22:59:24 +00002
Greg Aker63277b82010-11-09 13:46:13 -06003class Welcome extends CI_Controller {
Derek Allard2067d1a2008-11-13 22:59:24 +00004
Greg Akera9924b82011-03-08 22:07:55 -06005 /**
6 * Index Page for this controller.
7 *
8 * Maps to the following URL
9 * http://example.com/index.php/welcome
Derek Jones4b9c6292011-07-01 17:40:48 -050010 * - or -
Greg Akera9924b82011-03-08 22:07:55 -060011 * http://example.com/index.php/welcome/index
12 * - or -
Derek Jones4b9c6292011-07-01 17:40:48 -050013 * Since this controller is set as the default controller in
Greg Akera9924b82011-03-08 22:07:55 -060014 * config/routes.php, it's displayed at http://example.com/
15 *
16 * So any other public methods not prefixed with an underscore will
17 * map to /index.php/welcome/<method_name>
18 * @see http://codeigniter.com/user_guide/general/urls.html
19 */
Greg Aker03103102011-03-08 22:05:05 -060020 public function index()
Derek Allard2067d1a2008-11-13 22:59:24 +000021 {
22 $this->load->view('welcome_message');
23 }
24}
25
26/* End of file welcome.php */
Derek Jonesf0b39942010-03-25 10:08:20 -050027/* Location: ./application/controllers/welcome.php */