blob: 2f0e358bc7781cacd85336b56e6e6b65b8627b23 [file] [log] [blame]
Andrey Andreevc5536aa2012-11-01 17:33:58 +02001<?php
Derek Jonesf4a4bd82011-10-20 12:18:42 -05002/**
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
Andrey Andreeve734b382012-03-26 13:42:36 +03008 *
Derek Jonesf4a4bd82011-10-20 12:18:42 -05009 * Licensed under the Academic Free License version 3.0
Andrey Andreeve734b382012-03-26 13:42:36 +030010 *
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
Andrey Andreev80500af2013-01-01 08:16:53 +020021 * @copyright Copyright (c) 2008 - 2013, 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 */
Andrey Andreevc5536aa2012-11-01 17:33:58 +020027defined('BASEPATH') OR exit('No direct script access allowed');
Derek Allard2067d1a2008-11-13 22:59:24 +000028
Greg Aker63277b82010-11-09 13:46:13 -060029class Welcome extends CI_Controller {
Derek Allard2067d1a2008-11-13 22:59:24 +000030
Greg Akera9924b82011-03-08 22:07:55 -060031 /**
32 * Index Page for this controller.
33 *
34 * Maps to the following URL
35 * http://example.com/index.php/welcome
Andrey Andreeve734b382012-03-26 13:42:36 +030036 * - or -
Greg Akera9924b82011-03-08 22:07:55 -060037 * http://example.com/index.php/welcome/index
38 * - or -
Andrey Andreeve734b382012-03-26 13:42:36 +030039 * Since this controller is set as the default controller in
Greg Akera9924b82011-03-08 22:07:55 -060040 * config/routes.php, it's displayed at http://example.com/
41 *
42 * So any other public methods not prefixed with an underscore will
43 * map to /index.php/welcome/<method_name>
44 * @see http://codeigniter.com/user_guide/general/urls.html
45 */
Greg Aker03103102011-03-08 22:05:05 -060046 public function index()
Derek Allard2067d1a2008-11-13 22:59:24 +000047 {
48 $this->load->view('welcome_message');
49 }
50}
51
52/* End of file welcome.php */
Derek Jonesf0b39942010-03-25 10:08:20 -050053/* Location: ./application/controllers/welcome.php */