<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Faq extends MY_Controller { public function __construct() { parent::__construct('faq'); } public function index() { $this->load->view('header', ['active' => 'faq', 'title' => 'FAQ - Frequently Asked Questions']); $this->load->view('faq'); $this->load->view('footer'); } }