blob: 2451d9776c6731025620038a79731182a376637c [file] [log] [blame]
Derek Jonesf4a4bd82011-10-20 12:18:42 -05001<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2/**
3 * CodeIgniter
4 *
Phil Sturgeon07c1ac82012-03-09 17:03:37 +00005 * An open source application development framework for PHP 5.2.4 or newer
Derek Jonesf4a4bd82011-10-20 12:18:42 -05006 *
7 * NOTICE OF LICENSE
8 *
9 * Licensed under the Academic Free License version 3.0
10 *
Derek Jones61df9062011-10-21 09:55:40 -050011 * This source file is subject to the Academic Free License (AFL 3.0) that is
Derek Jonesf4a4bd82011-10-20 12:18:42 -050012 * bundled with this package in the files license_afl.txt / license_afl.rst.
13 * It is also available through the world wide web at this URL:
14 * http://opensource.org/licenses/AFL-3.0
15 * If you did not receive a copy of the license and are unable to obtain it
16 * through the world wide web, please send an email to
17 * licensing@ellislab.com so we can send you a copy immediately.
18 *
19 * @package CodeIgniter
20 * @author EllisLab Dev Team
Greg Aker0defe5d2012-01-01 18:46:41 -060021 * @copyright Copyright (c) 2008 - 2012, EllisLab, Inc. (http://ellislab.com/)
Derek Jonesf4a4bd82011-10-20 12:18:42 -050022 * @license http://opensource.org/licenses/AFL-3.0 Academic Free License (AFL 3.0)
23 * @link http://codeigniter.com
24 * @since Version 1.0
25 * @filesource
26 */
Derek Allard2067d1a2008-11-13 22:59:24 +000027
Greg Aker63277b82010-11-09 13:46:13 -060028class Welcome extends CI_Controller {
Derek Allard2067d1a2008-11-13 22:59:24 +000029
Greg Akera9924b82011-03-08 22:07:55 -060030 /**
31 * Index Page for this controller.
32 *
33 * Maps to the following URL
34 * http://example.com/index.php/welcome
Derek Jones37f4b9c2011-07-01 17:56:50 -050035 * - or -
Greg Akera9924b82011-03-08 22:07:55 -060036 * http://example.com/index.php/welcome/index
37 * - or -
Derek Jones37f4b9c2011-07-01 17:56:50 -050038 * Since this controller is set as the default controller in
Greg Akera9924b82011-03-08 22:07:55 -060039 * config/routes.php, it's displayed at http://example.com/
40 *
41 * So any other public methods not prefixed with an underscore will
42 * map to /index.php/welcome/<method_name>
43 * @see http://codeigniter.com/user_guide/general/urls.html
44 */
Greg Aker03103102011-03-08 22:05:05 -060045 public function index()
Derek Allard2067d1a2008-11-13 22:59:24 +000046 {
47 $this->load->view('welcome_message');
48 }
49}
50
51/* End of file welcome.php */
Derek Jonesf0b39942010-03-25 10:08:20 -050052/* Location: ./application/controllers/welcome.php */