<?php

class Context_help extends CF_Controller
{
    public function __construct()
    {
        parent::__construct();
    }

    public function show($key = '')
    {
        if (is_file(APPPATH . 'views/contexthelp/' . $key . EXT)) {
            $this->load->view("contexthelp/$key", []);
        } else {
            $this->load->view('contexthelp/help-not-found', []);
        }
    }
}
