public static function initialize() { $constantMapping = (require_once Loader::APPPATH() . 'Config/Const.php'); Kit::update(self::$constantMapping, $constantMapping); $constantMapping = (require_once Loader::APPPATH() . 'Config/Const-local.php'); Kit::update(self::$constantMapping, $constantMapping); foreach (self::$constantMapping as $name => $value) { if (FALSE === defined($name)) { define($name, $value); } } }