更新缓存时更新路由文件
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
$type = explode('_', $_GET['type']);
|
$type = explode('_', $_GET['type']);
|
||||||
if (in_array('data', $type)) {
|
if (in_array('data', $type)) {
|
||||||
updatecache();
|
updatecache();
|
||||||
|
C::t('pichome_route')->update_route();
|
||||||
}
|
}
|
||||||
if (in_array('tpl', $type) && $_G['config']['output']['tplrefresh']) {
|
if (in_array('tpl', $type) && $_G['config']['output']['tplrefresh']) {
|
||||||
cleartemplatecache();
|
cleartemplatecache();
|
||||||
|
|||||||
Reference in New Issue
Block a user