|
|
|
@ -13,7 +13,14 @@ class Index extends CI_Controller
|
|
|
|
|
//private $logstore = 'globalhoghlights';
|
|
|
|
|
private $token = "";
|
|
|
|
|
private $Log_Client;
|
|
|
|
|
private $logstore=array('cht'=>'globalhoghlights','ah'=>'asiahighlights');//站点日志存储库,每个网站对应一个
|
|
|
|
|
private $logstore=array('cht'=>'globalhoghlights'
|
|
|
|
|
,'ah'=>'asiahighlights'
|
|
|
|
|
,'ct'=>'chinatravel'
|
|
|
|
|
,'yz'=>'yangtzeriver'
|
|
|
|
|
,'gl'=>'guilinchina'
|
|
|
|
|
,'sht'=>'shanghaihighlights'
|
|
|
|
|
,'gm'=>'chinarundreisen'
|
|
|
|
|
);//站点日志存储库,每个网站对应一个
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function __construct()
|
|
|
|
@ -54,6 +61,8 @@ class Index extends CI_Controller
|
|
|
|
|
and request_uri NOT like '/guide-use.php%'
|
|
|
|
|
and request_uri NOT like '/index.php%'
|
|
|
|
|
and request_uri NOT like '/secureforms/form_token'
|
|
|
|
|
and request_uri NOT like '/ip/'
|
|
|
|
|
and request_uri NOT like '/ajax/getads/'
|
|
|
|
|
and remote_addr='$ip'
|
|
|
|
|
";//ORDER BY time_local ASC 时间精度不够,会导致相同排序错误,只能用系统默认排序
|
|
|
|
|
/*
|
|
|
|
|