shish 2 年 前
コミット
bbf55fe86d
1 ファイル変更2 行追加2 行削除
  1. 2 2
      app-ghs/controllers/TestController.php

+ 2 - 2
app-ghs/controllers/TestController.php

@@ -37,8 +37,8 @@ class TestController extends BaseController
     public function actionIp()
     public function actionIp()
     {
     {
         error_reporting(-1);
         error_reporting(-1);
-        $ip = $_SERVER['SERVER_ADDR'] ?? '';
-        echo $ip;
+//        $ip = $_SERVER['SERVER_ADDR'] ?? '';
+//        echo $ip;
 
 
         $r = wkhtmltox_convert('image',array('out' => 'test.jpg', 'in' => 'http://www.baidu.com/'));
         $r = wkhtmltox_convert('image',array('out' => 'test.jpg', 'in' => 'http://www.baidu.com/'));
         var_dump($r);
         var_dump($r);