Esen Sagynov | 2ab2b1e | 2011-08-11 00:41:16 -0700 | [diff] [blame^] | 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 */ |