diff options
author | Florian Pritz <bluewind@xinu.at> | 2017-09-18 12:13:12 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2017-09-18 12:13:12 +0200 |
commit | b0e09e9db4cef075491ef683d89390faa2e6b8c3 (patch) | |
tree | 32799b1aed99f9e1632569e9b183117fd284e1ca /application/controllers/api/api_controller.php | |
parent | 7a2ef40a39c3d9f34240453db8305e6607005089 (diff) |
Remove unsupported secondary controller
Having more than one controller per request doesn't work with CI3.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/api/api_controller.php')
-rw-r--r-- | application/controllers/api/api_controller.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/application/controllers/api/api_controller.php b/application/controllers/api/api_controller.php index 2b9054b17..d615d6cec 100644 --- a/application/controllers/api/api_controller.php +++ b/application/controllers/api/api_controller.php @@ -9,6 +9,10 @@ namespace controllers\api; -abstract class api_controller extends \CI_Controller { +abstract class api_controller { + public function __construct() { + $this->CI =& get_instance(); + } + } |