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
+27
View File
@@ -0,0 +1,27 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Tkj extends CI_Controller {
//load model
public function __construct()
{
parent::__construct();
$this->load->model('tkj_model');
$this->simple_login->check_login();
}
public function index()
{
$tkj = $this->tkj_model->tkj();
$total = $this->tkj_model->total();
$data = array( 'title' => 'Data Pendaftar TJKT [ '.$total->total.' ]',
'tkj' => $tkj,
'content' => 'tkj/index'
);
$this->load->view('layout/wrapper', $data, FALSE);
}
}