Struktur ulang: memindahkan sistem ke folder public untuk Nginx
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Berkas extends CI_Controller {
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->load->model('biodata_model');
|
||||
//proteksi halaman
|
||||
$this->simple_login->check_login();
|
||||
|
||||
}
|
||||
|
||||
//Main page biodata
|
||||
public function index()
|
||||
{
|
||||
|
||||
$data = array( 'title' => 'Aplikasi PPDB MTD - Berkas Calon Peserta Didik',
|
||||
'content' => 'berkas/index'
|
||||
);
|
||||
$this->load->view('layout/wrapper', $data, FALSE);
|
||||
}
|
||||
|
||||
public function cetakberkas($no_pendaftaran)
|
||||
{
|
||||
$data['data'] = $this->db->get_where('v_rpt_trans_berkas',['no_pendaftaran'=>$no_pendaftaran])->row();
|
||||
$this->load->view('formulir/cetak_berkas',$data);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/* End of file biodata.php */
|
||||
/* Location: ./application/controllers/biodata.php */
|
||||
Reference in New Issue
Block a user