| #227 | // 动态获取插件后台设置的黄历前缀 |
| #228 | $plugin_prefix = isset($cfg['le_hl']['day_prefix']) ? $cfg['le_hl']['day_prefix'] : 'huangli'; |
| #229 | |
| #230 | // 支持插件设置的前缀和默认的 hl 前缀 |
| #231 | $possible_prefixes = array('hl', $plugin_prefix); |
| #232 | |
| #233 | // 检查是否匹配黄历插件的URL模式 |
| #234 | foreach ($possible_prefixes as $prefix) { |
| #235 | $prefix_len = strlen($prefix); |
| #236 |