Browse Source

生成缓存样式调整

tags/6.2.7
tianya 11 months ago
parent
commit
2c78d70932
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      src/admin/sys_cache_up.php

+ 3
- 4
src/admin/sys_cache_up.php View File

@@ -46,12 +46,11 @@ if ($dopost == "ok") {
$limit = date('Ymd', strtotime('-15 days'));
$dsql->ExecuteNoneQuery("DELETE FROM `#@__statistics_detail` WHERE created_date < '$limit'");
$msg[] = "正在清理15天之前流量统计";
echo DedeAlert(implode("<br/>",$msg), ALERT_INFO, TRUE);
$url = "sys_cache_up.php?dopost=ok&step=-1&uparc=$uparc";
if ($uparc == 1) {
echo "<script>location='sys_cache_up.php?dopost=ok&step=9';</script>";
} else {
echo "<script>location='sys_cache_up.php?dopost=ok&step=-1&uparc=$uparc';</script>";
$url = "sys_cache_up.php?dopost=ok&step=9";
}
ShowMsg(implode("<br/>",$msg),$url);
exit();
}
//修正错误文档


Loading…
Cancel
Save