define environment variables

This commit is contained in:
arma7x 2020-06-23 06:23:52 +08:00
parent 730e2717fb
commit 4c21cc45bb
No known key found for this signature in database
GPG Key ID: 3786C4282291774A

View File

@ -186,13 +186,14 @@ class CodeIgniter
// Set default timezone on the server
date_default_timezone_set($this->config->appTimezone ?? 'UTC');
// Define environment variables
$this->detectEnvironment();
$this->bootstrapEnvironment();
// Setup Exception Handling
Services::exceptions()
->initialize();
$this->detectEnvironment();
$this->bootstrapEnvironment();
$this->initializeKint();
if (! CI_DEBUG)