Advertisement
tiagopgeremias

welcome.php

Aug 12th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.78 KB | None | 0 0
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2.  
  3. class Welcome extends CI_Controller {
  4.  
  5.     /**
  6.      * Index Page for this controller.
  7.      *
  8.      * Maps to the following URL
  9.      *      http://example.com/index.php/welcome
  10.      *  - or -  
  11.      *      http://example.com/index.php/welcome/index
  12.      *  - or -
  13.      * Since this controller is set as the default controller in
  14.      * 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.      */
  20.     public function index()
  21.     {
  22.         $this->load->view('welcome_message');
  23.     }
  24. }
  25.  
  26. /* End of file welcome.php */
  27. /* Location: ./application/controllers/welcome.php */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement