add Dashboard to HMVC

This commit is contained in:
cgfhtw
2022-12-16 11:36:33 +01:00
parent 085ed750ca
commit 4335c2da80
3 changed files with 127 additions and 45 deletions
@@ -0,0 +1,33 @@
<?php
if (! defined('BASEPATH')) exit('No direct script access allowed');
/**
*
*/
class Dashboard extends Auth_Controller
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct(
array(
'index' => 'user:r'
)
);
}
// -----------------------------------------------------------------------------------------------------------------
// Public methods
/**
* @return void
*/
public function index()
{
$this->load->view('CisHmvc/Dashboard.php');
}
}