mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
define environment variables
This commit is contained in:
parent
730e2717fb
commit
4c21cc45bb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user