mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Formatting tidy-up
This commit is contained in:
@@ -5,7 +5,9 @@ class API extends CI_Controller {
|
|||||||
// Do absolutely nothing
|
// Do absolutely nothing
|
||||||
function index()
|
function index()
|
||||||
{
|
{
|
||||||
|
header("Location: ".$this->config->item('base_url'));
|
||||||
//load the model and get results
|
//load the model and get results
|
||||||
|
/*
|
||||||
$this->load->model('logbook_model');
|
$this->load->model('logbook_model');
|
||||||
$data['data'] = array();
|
$data['data'] = array();
|
||||||
|
|
||||||
@@ -13,6 +15,7 @@ class API extends CI_Controller {
|
|||||||
//$this->load->view('layout/header');
|
//$this->load->view('layout/header');
|
||||||
$this->load->view('api/index', $data);
|
$this->load->view('api/index', $data);
|
||||||
//$this->load->view('layout/footer');
|
//$this->load->view('layout/footer');
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: search()
|
// FUNCTION: search()
|
||||||
@@ -63,7 +66,6 @@ class API extends CI_Controller {
|
|||||||
|
|
||||||
Finally, once this has been done, each field name is translated to the MySQL column name.
|
Finally, once this has been done, each field name is translated to the MySQL column name.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function search()
|
function search()
|
||||||
{
|
{
|
||||||
// Load the API and Logbook models
|
// Load the API and Logbook models
|
||||||
|
|||||||
Reference in New Issue
Block a user