更新缓存时更新路由文件

This commit is contained in:
zyx0814
2024-05-17 19:57:48 +08:00
Unverified
parent 198027d09f
commit 87ab15d024

View File

@@ -33,6 +33,7 @@
$type = explode('_', $_GET['type']);
if (in_array('data', $type)) {
updatecache();
C::t('pichome_route')->update_route();
}
if (in_array('tpl', $type) && $_G['config']['output']['tplrefresh']) {
cleartemplatecache();