Batch 6a: application controllers base
This commit is contained in:
11
application/controllers/tools/debug/test.php
Normal file
11
application/controllers/tools/debug/test.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
class Test extends MY_Controller
|
||||
{
|
||||
function __construct() {
|
||||
parent::__construct();
|
||||
$this->db = $this->load->database("onedev", true);
|
||||
}
|
||||
function index() {
|
||||
echo json_encode( array("status" => "OK" , "message" => "ok message"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user