Browse Source

add responsid to comment

stanley-king 7 years atrás
parent
commit
10feb5a3f1
2 changed files with 1 additions and 2 deletions
  1. 0 1
      core/framework/core/base.php
  2. 1 1
      helper/ugc/comments.php

+ 0 - 1
core/framework/core/base.php

@@ -304,7 +304,6 @@ final class Base
 			$d = strtolower(stristr($_SERVER['HTTP_HOST'],self::CPURL));
 			if ($d != strtolower(self::CPURL)){
 				 return;
-				//header('location: http://abc.abc.com');exit();
 			}
 		}
 	}

+ 1 - 1
helper/ugc/comments.php

@@ -87,7 +87,7 @@ class comments
         $result['addtime'] = $comment['addtime'];
         $result['user_id'] = $comment['user_id'];
         $result['response_id'] = $comment['response_id'];
-        
+
         $comment_id = intval($comment['comment_id']);
         $supporter = new special_support($this->special_id,$comment_id);
         $result['supported'] = $supporter->supported();