diff --git a/application/controllers/Form.php b/application/controllers/Form.php index ef4c879..68c9a9a 100644 --- a/application/controllers/Form.php +++ b/application/controllers/Form.php @@ -3,7 +3,8 @@ namespace application\controllers; defined('BASEPATH') or exit('No direct script access allowed'); -use application\models\Form_model; + +// use application\models\Form_model; class Form extends CI_Controller { diff --git a/application/controllers/Welcome.php b/application/controllers/Welcome.php index 1faa7a5..6d7090f 100644 --- a/application/controllers/Welcome.php +++ b/application/controllers/Welcome.php @@ -1,10 +1,12 @@ load->view('welcome_message'); - } +defined('BASEPATH') or exit('No direct script access allowed'); +class Welcome extends CI_Controller +{ + public function index() + { + $this->load->view('welcome_message'); + } }