Browse Source

调整

tags/6.2.8
叙述、别离 1 year ago
parent
commit
7cb1cb6fa3
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/system/archive/searchview.class.php
  2. +1
    -1
      src/system/archive/specview.class.php
  3. +1
    -1
      src/system/archive/taglist.class.php

+ 1
- 1
src/system/archive/searchview.class.php View File

@@ -110,7 +110,7 @@ class SearchView
$this->CountRecord();
$tempfile = $GLOBALS['cfg_basedir'].$GLOBALS['cfg_templets_dir']."/".$GLOBALS['cfg_df_style']."/search.htm";
if (!file_exists($tempfile) || !is_file($tempfile)) {
echo "模板文件不存在,无法解析";
echo "搜索模板文件不存在,无法解析";
exit();
}
$this->dtp->LoadTemplate($tempfile);


+ 1
- 1
src/system/archive/specview.class.php View File

@@ -60,7 +60,7 @@ class SpecView
$this->CountRecord();
$tempfile = $GLOBALS['cfg_basedir'].$GLOBALS['cfg_templets_dir']."/".$GLOBALS['cfg_df_style']."/list_spec.htm";
if (!file_exists($tempfile) || !is_file($tempfile)) {
echo "主题模板文件不存在,无法发布文档";
echo "专题主题模板文件不存在,无法发布文档";
exit();
}
$this->dtp->LoadTemplate($tempfile);


+ 1
- 1
src/system/archive/taglist.class.php View File

@@ -71,7 +71,7 @@ class TagList
//初始化模板
$tempfile = $GLOBALS['cfg_basedir'].$GLOBALS['cfg_templets_dir']."/".$GLOBALS['cfg_df_style'].'/'.$this->Templet;
if (!file_exists($tempfile) || !is_file($tempfile)) {
echo "主题模板文件不存在,无法发布文档";
echo "标签主题模板文件不存在,无法发布文档";
exit();
}
$this->dtp->LoadTemplate($tempfile);


Loading…
Cancel
Save