更新缓存时更新路由文件
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user