This commit is contained in:
Paminger
2016-04-25 14:25:09 +02:00
parent f154e6dd5d
commit ecff3747d0
10 changed files with 14 additions and 13 deletions
@@ -2,12 +2,12 @@
defined('BASEPATH') || exit('No direct script access allowed');
require_once APPPATH . '/libraries/REST_Controller.php';
//require_once APPPATH . '/libraries/REST_Controller.php';
/**
* Testing class for REST calls and authentication
*/
class Test extends REST_Controller
class Test extends APIv1_Controller
{
public function __construct()
{
@@ -47,4 +47,4 @@ class Test extends REST_Controller
$httpstatus = REST_Controller::HTTP_OK;
$this->response($payload, $httpstatus);
}
}
}
@@ -15,7 +15,7 @@
defined('BASEPATH') || exit('No direct script access allowed');
class Kontakt extends REST_Controller
class Kontakt extends APIv1_Controller
{
//public $session;
@@ -14,7 +14,7 @@
if(!defined('BASEPATH')) exit('No direct script access allowed');
class Person extends REST_Controller
class Person extends APIv1_Controller
{
/**
* Person API constructor.
@@ -154,4 +154,4 @@ class Person extends REST_Controller
$this->response($payload, $httpstatus);
}
}
}