BaseControllerConcept into config.php

This commit is contained in:
Paminger
2016-03-15 08:14:05 +01:00
parent d28f79e855
commit 0c3c47f848
11 changed files with 50 additions and 327 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
// This can be removed if you use __autoload() in config.php OR use Modular Extensions
require APPPATH . '/libraries/REST_Controller.php';
class API_Controller extends REST_Controller
{
function __construct()
{
parent::__construct();
//$this->load->library('session'); -> autoload
//$this->load->library('database'); -> autoload
}
}