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
+2 -1
View File
@@ -53,7 +53,7 @@
*
* NOTE: If you change these, also change the error_reporting() code below
*/
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production');
/*
*---------------------------------------------------------------
* ERROR REPORTING
@@ -304,6 +304,7 @@ $loader=new CI_Loader();
require_once(dirname(__FILE__).'/vendor/codeigniter/framework/system/core/Controller.php');
$controller=new CI_Controller();
require_once(dirname(__FILE__).'/vendor/codeigniter/framework/system/core/Model.php');
require_once(dirname(__FILE__).'/application/core/MY_Model.php');
$model=new CI_Model();
// Traits