mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
Added new Logging System for Persons
Added a Wrapper to call CI functions from outside Codeigniter
This commit is contained in:
+3
-4
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user