|
|
@ -205,7 +205,7 @@ class Welcome extends CI_Controller {
|
|
|
|
$http_host = 'http://www.chinahighlights.com/';
|
|
|
|
$http_host = 'http://www.chinahighlights.com/';
|
|
|
|
$https_host = 'https://www.chinahighlights.com/';
|
|
|
|
$https_host = 'https://www.chinahighlights.com/';
|
|
|
|
$data['all_information'] =
|
|
|
|
$data['all_information'] =
|
|
|
|
$this->Information_model->search_all_text($http_host, 50);
|
|
|
|
$this->Information_model->search_all_text($http_host, 100);
|
|
|
|
echo 'count: '.count($data['all_information']).'<br/>';
|
|
|
|
echo 'count: '.count($data['all_information']).'<br/>';
|
|
|
|
if (empty($data['all_information'])) {
|
|
|
|
if (empty($data['all_information'])) {
|
|
|
|
echo 'nothing transform to https';
|
|
|
|
echo 'nothing transform to https';
|
|
|
@ -214,7 +214,7 @@ class Welcome extends CI_Controller {
|
|
|
|
|
|
|
|
|
|
|
|
if (empty($item->ic_url) || empty($item->ic_type) ||
|
|
|
|
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_keywords) || empty($item->ic_seo_title) || empty($item->ic_seo_description)) {
|
|
|
|
echo '<span style="color: red;">'.$item->ic_title .' has null value too many.</span> <br/>';
|
|
|
|
echo '<span style="color: red;">['.$item->ic_title .'] has null value too many.</span> <br/>';
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
echo $item->ic_url.' | '.$item->ic_title.'<br/>';
|
|
|
|
echo $item->ic_url.' | '.$item->ic_title.'<br/>';
|
|
|
|