| #114 | $cache_key = 'website_group_'.str_replace(array('.', '-'), '_', $httphost); |
| #115 | $website_group = $this->get($cache_key); |
| #116 | |
| #117 | if(empty($website_group)){ |
| #118 | // 确保模型正确加载 |
| #119 | if (!isset($this->website_group) || !is_object($this->website_group)) { |
| #120 | $this->website_group = core::model('website_group'); |
| #121 | } |
| #122 | |
| #123 | // 查询站群配置,支持新的数据库结构 |