shish 2 năm trước cách đây
mục cha
commit
bbf55fe86d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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()
     {
         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/'));
         var_dump($r);