Added new Logging System for Persons

Added a Wrapper to call CI functions from outside Codeigniter
This commit is contained in:
Andreas Österreicher
2017-11-24 18:45:51 +01:00
parent d3d4e01afc
commit 5b54217733
8 changed files with 213 additions and 36 deletions
+3 -4
View File
@@ -54,7 +54,7 @@
* NOTE: If you change these, also change the error_reporting() code below
*
*/
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
/*
@@ -102,7 +102,7 @@ switch (ENVIRONMENT)
* as this file.
*
*/
$system_path = 'vendor/codeigniter/framework/system';
$system_path = dirname(__FILE__).'/vendor/codeigniter/framework/system';
/*
*---------------------------------------------------------------
@@ -118,7 +118,7 @@ switch (ENVIRONMENT)
* NO TRAILING SLASH!
*
*/
$application_folder = 'application';
$application_folder = dirname(__FILE__).'/application';
/*
*---------------------------------------------------------------
@@ -308,4 +308,3 @@ include_once 'vendor/autoload.php';
// Now the bootstrap file
require_once BASEPATH.'core/CodeIgniter.php';