ignore search url

hotfix/远程访问多媒体中心
lmrwork 7 years ago
parent f503884444
commit 93dcbb132a

@ -89,13 +89,17 @@ class InfoMetas_model extends CI_Model {
WHERE im.im_key = 'AMP_JSON'
AND c.ic_sitecode = ?
AND c.ic_status = 1
AND CONVERT(varchar, im2.im_value) = '1')
AND c0.ic_sitecode = ?
AND c0.ic_status = 1
AND c0.ic_url <> ''
AND datalength(c0.ic_content) > 0
AND CHARINDEX(c0.ic_url, 'search') = 0
";
AND CONVERT(varchar, im2.im_value) = '1'
)
AND c0.ic_sitecode = ?
AND c0.ic_status = 1
AND c0.ic_url <> ''
AND datalength(c0.ic_content) > 0
AND CHARINDEX('search', c0.ic_url) = 0
AND CHARINDEX('faq', c0.ic_url) = 0
AND CHARINDEX('feedback', c0.ic_url) = 0
AND CHARINDEX('test', c0.ic_url) = 0
";
$query = $this->HT->query($sql, array($site_code, $site_code));
return $query->result();
}

Loading…
Cancel
Save