소스 검색

删除过滤

linwu 1 년 전
부모
커밋
bd2d3d933f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      server/common/models/Policy.php

+ 1 - 1
server/common/models/Policy.php

@@ -56,7 +56,7 @@ class Policy extends \yii\db\ActiveRecord
             [['use_layout'], 'in', 'range' => [0, 1]],
             [['title'], 'string', 'max' => 50],
             [['author'], 'string', 'max' => 50],
-            ['content', 'filterHtml']
+//            ['content', 'filterHtml']
         ];
     }