删除SEO关键字空判断

hotfix/远程访问多媒体中心
LiaoYijun 7 years ago
parent a3e91dc64f
commit 974f865fc9

@ -205,7 +205,7 @@ class Welcome extends CI_Controller {
$http_host = 'http://www.chinahighlights.com/';
$https_host = 'https://www.chinahighlights.com/';
$data['all_information'] =
$this->Information_model->search_all_text($http_host, 150);
$this->Information_model->search_all_text($http_host, 200);
echo 'count: '.count($data['all_information']).'<br/>';
if (empty($data['all_information'])) {
echo 'nothing transform to https';
@ -213,7 +213,7 @@ class Welcome extends CI_Controller {
foreach ($data['all_information'] as $item) {
if (empty($item->ic_url) || empty($item->ic_type) ||
empty($item->ic_seo_keywords) || empty($item->ic_seo_title) || empty($item->ic_seo_description)) {
empty($item->ic_seo_title) || empty($item->ic_seo_description)) {
echo '<span style="color: red;">['.$item->ic_title .'] ['.$item->ic_url.']</span> <br/>';
continue;
} else {

Loading…
Cancel
Save