mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Advanced Logbook] Started on dbtools
This commit is contained in:
@@ -884,4 +884,19 @@ class Logbookadvanced extends CI_Controller {
|
||||
public function callbookDialog() {
|
||||
$this->load->view('logbookadvanced/callbookdialog');
|
||||
}
|
||||
|
||||
public function dbtoolsDialog() {
|
||||
$this->load->view('logbookadvanced/dbtoolsdialog');
|
||||
}
|
||||
|
||||
public function checkDb() {
|
||||
if(!clubaccess_check(9)) return;
|
||||
|
||||
$type = $this->input->post('type', true);
|
||||
|
||||
$this->load->model('logbookadvanced_model');
|
||||
$result = $this->logbookadvanced_model->runCheckDb($type);
|
||||
header("Content-Type: application/json");
|
||||
print json_encode($result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user