Formatting tidy-up

这个提交包含在:
Andy Smith 2011-08-18 01:28:37 +01:00
父节点 f0cf7fd1d7
当前提交 ba5c698215

查看文件

@ -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