diff options
author | Andrey Andreev <narf@devilix.net> | 2016-12-01 16:14:35 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-12-01 16:14:35 +0100 |
commit | 5d6e77b092ca8f1700a7407bf59bcab6b0e30808 (patch) | |
tree | dd1742a5d2fc544cc954ffc51556f1f36457b947 /system/core/CodeIgniter.php | |
parent | 8db01f13809a92bac7bc95b02893175d7654d627 (diff) |
[ci skip] Fix #4928
Diffstat (limited to 'system/core/CodeIgniter.php')
-rw-r--r-- | system/core/CodeIgniter.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php index 71656be29..c9cb5c89f 100644 --- a/system/core/CodeIgniter.php +++ b/system/core/CodeIgniter.php @@ -67,7 +67,10 @@ defined('BASEPATH') OR exit('No direct script access allowed'); require_once(APPPATH.'config/'.ENVIRONMENT.'/constants.php'); } - require_once(APPPATH.'config/constants.php'); + if (file_exists(APPPATH.'config/constants.php')) + { + require_once(APPPATH.'config/constants.php'); + } /* * ------------------------------------------------------ |