Commit 85800333 authored by wwccw0591's avatar wwccw0591

pc

parent 72b53998
...@@ -52,7 +52,8 @@ class IndexController extends \Our\Controller_Abstract { ...@@ -52,7 +52,8 @@ class IndexController extends \Our\Controller_Abstract {
} }
public function indexAction() { public function indexAction() {
json_encode($_SERVER);exit; var_dump($_SERVER);exit;
// echo $_SERVER['USER']);exit;
$elasticConfig=\Our\Common::getConfig('elastic.master'); $elasticConfig=\Our\Common::getConfig('elastic.master');
$configArray=array( $configArray=array(
$elasticConfig->host.':'.$elasticConfig->port, $elasticConfig->host.':'.$elasticConfig->port,
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
return false; return false;
} }
$res=is_https(); $res=is_https();
if($res){ if($res){
echo 1; echo 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment