commit | 5d6e77b092ca8f1700a7407bf59bcab6b0e30808 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Thu Dec 01 17:14:35 2016 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Thu Dec 01 17:14:35 2016 +0200 |
tree | dd1742a5d2fc544cc954ffc51556f1f36457b947 | |
parent | 8db01f13809a92bac7bc95b02893175d7654d627 [diff] [blame] |
[ci skip] Fix #4928
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php index 71656be..c9cb5c8 100644 --- a/system/core/CodeIgniter.php +++ b/system/core/CodeIgniter.php
@@ -67,7 +67,10 @@ 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'); + } /* * ------------------------------------------------------