Explorar el Código

add responsid to comment

stanley-king hace 7 años
padre
commit
10feb5a3f1
Se han modificado 2 ficheros con 1 adiciones y 2 borrados
  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();