/** * 获取配置参数不区分大小写 * * @param string $key 支持.获取多维数组 * @param string $default 不存在的时候默认值 * * @return mixed */ public static function get($key = null, $default = null) { // 无参数时获取所有 if (empty($key)) { return self::$_content; } $key = strtolower($key); return Cml::doteToArr($key, self::$_content['normal'], $default); }