Welcome.php 770 B

123456789101112131415161718192021222324252627
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2. class Welcome extends CI_Controller {
  3. /**
  4. * Index Page for this controller.
  5. *
  6. * Maps to the following URL
  7. * http://example.com/index.php/welcome
  8. * - or -
  9. * http://example.com/index.php/welcome/index
  10. * - or -
  11. * Since this controller is set as the default controller in
  12. * config/routes.php, it's displayed at http://example.com/
  13. *
  14. * So any other public methods not prefixed with an underscore will
  15. * map to /index.php/welcome/<method_name>
  16. * @see http://codeigniter.com/user_guide/general/urls.html
  17. */
  18. public function index()
  19. {
  20. $this->load->view('welcome_message');
  21. }
  22. }
  23. /* End of file welcome.php */
  24. /* Location: ./application/controllers/welcome.php */