|  |  | @@ -151,7 +151,7 @@ class TagList | 
		
	
		
			
			|  |  |  | function Display() | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | global $cfg_tags_dir; | 
		
	
		
			
			|  |  |  | $tagsDir = str_replace("{cmspath}", $cfg_tags_dir); | 
		
	
		
			
			|  |  |  | $tagsDir = str_replace("{cmspath}", "", $cfg_tags_dir); | 
		
	
		
			
			|  |  |  | $makeDir = empty($this->Tag) ? $this->GetTruePath().$tagsDir."/index.html" : $this->GetTruePath().$tagsDir."/".$this->Tag."/index.html"; | 
		
	
		
			
			|  |  |  | if ($this->Tag != '') { | 
		
	
		
			
			|  |  |  | $this->CountRecord(); | 
		
	
	
		
			
				|  |  | @@ -554,7 +554,7 @@ class TagList | 
		
	
		
			
			|  |  |  | function SetTagsDir($dir = '') | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | global $cfg_tags_dir; | 
		
	
		
			
			|  |  |  | if ($dir == "") $dir = str_replace("{cmspath}", $cfg_tags_dir); | 
		
	
		
			
			|  |  |  | if ($dir == "") $dir = str_replace("{cmspath}", "", $cfg_tags_dir); | 
		
	
		
			
			|  |  |  | $this->tagsDir = $dir; | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | //生成静态Tag | 
		
	
	
		
			
				|  |  | @@ -562,7 +562,7 @@ class TagList | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | global $cfg_dir_purview, $envs, $cfg_tags_dir, $cfg_cmsurl; | 
		
	
		
			
			|  |  |  | $envs['makeTag'] = 1; | 
		
	
		
			
			|  |  |  | $tagsdir = str_replace("{cmspath}", $cfg_tags_dir); | 
		
	
		
			
			|  |  |  | $tagsdir = str_replace("{cmspath}", "", $cfg_tags_dir); | 
		
	
		
			
			|  |  |  | if (isset($envs['makeTag']) && $envs['makeTag'] == 1) { | 
		
	
		
			
			|  |  |  | $this->Fields['position'] = $cfg_cmsurl.$tagsdir."/"; | 
		
	
		
			
			|  |  |  | } | 
		
	
	
		
			
				|  |  | 
 |