Struktur ulang: memindahkan sistem ke folder public untuk Nginx

This commit is contained in:
atuy
2026-06-26 17:48:01 +07:00
parent f6ff2d5d9d
commit f015774d4e
3283 changed files with 0 additions and 0 deletions
@@ -0,0 +1,31 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Dashboard extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->model('dashboard_model');
//proteksi halaman
$this->simple_login->check_login();
}
//Main page dashboard
public function index()
{
$data = array( 'title' => 'Aplikasi PPDB MTD - Dashboard',
'content' => 'dashboard/index'
);
$this->load->view('layout/wrapper', $data, FALSE);
}
}
/* End of file Dashboard.php */
/* Location: ./application/controllers/Dashboard.php */