Browse Source

Update makehtml_taglist_action.php

tags/6.1.9
tianya 1 year ago
parent
commit
d920784c24
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/admin/makehtml_taglist_action.php

+ 2
- 1
src/admin/makehtml_taglist_action.php View File

@@ -50,7 +50,8 @@ if ($ctagid == 0 && $allfinish) {
} }
$tag = $dsql->GetOne("SELECT * FROM `#@__tagindex` WHERE id='$ctagid' LIMIT 0,1;"); $tag = $dsql->GetOne("SELECT * FROM `#@__tagindex` WHERE id='$ctagid' LIMIT 0,1;");
// 创建TAGS目录 // 创建TAGS目录
MkdirAll($cfg_basedir.$cfg_tags_dir, $cfg_dir_purview);
$tagsDir = str_replace("{cmspath}",$cfg_cmspath,$cfg_tags_dir);
MkdirAll($cfg_basedir.$tagsDir, $cfg_dir_purview);
if (is_array($tag) && count($tag) > 0) { if (is_array($tag) && count($tag) > 0) {
$dlist = new TagList($tag['id'], 'taglist.htm'); $dlist = new TagList($tag['id'], 'taglist.htm');
$dlist->CountRecord(); $dlist->CountRecord();


Loading…
Cancel
Save