blob: 9213c0cf5452b3bc490d197bbb4a92eecd2777f6 [file] [log] [blame]
Andrey Andreevc5536aa2012-11-01 17:33:58 +02001<?php
Andrey Andreevc5536aa2012-11-01 17:33:58 +02002defined('BASEPATH') OR exit('No direct script access allowed');
Derek Allard2067d1a2008-11-13 22:59:24 +00003
Greg Aker63277b82010-11-09 13:46:13 -06004class Welcome extends CI_Controller {
Derek Allard2067d1a2008-11-13 22:59:24 +00005
Greg Akera9924b82011-03-08 22:07:55 -06006 /**
7 * Index Page for this controller.
8 *
9 * Maps to the following URL
10 * http://example.com/index.php/welcome
Andrey Andreeve734b382012-03-26 13:42:36 +030011 * - or -
Greg Akera9924b82011-03-08 22:07:55 -060012 * http://example.com/index.php/welcome/index
13 * - or -
Andrey Andreeve734b382012-03-26 13:42:36 +030014 * Since this controller is set as the default controller in
Greg Akera9924b82011-03-08 22:07:55 -060015 * config/routes.php, it's displayed at http://example.com/
16 *
17 * So any other public methods not prefixed with an underscore will
18 * map to /index.php/welcome/<method_name>
Andrey Andreevbd202c92016-01-11 12:50:18 +020019 * @see https://codeigniter.com/user_guide/general/urls.html
Greg Akera9924b82011-03-08 22:07:55 -060020 */
Greg Aker03103102011-03-08 22:05:05 -060021 public function index()
Derek Allard2067d1a2008-11-13 22:59:24 +000022 {
23 $this->load->view('welcome_message');
24 }
25}