Welcome.php 679B

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