shish 2 years ago
parent
commit
0deaf380dc
1 changed files with 3 additions and 2 deletions
  1. 3 2
      app-ghs/controllers/TestController.php

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

@@ -36,7 +36,6 @@ class TestController extends BaseController
 
     public function actionIp()
     {
-        phpinfo();die;
         $ip = $_SERVER['SERVER_ADDR'] ?? '';
         echo $ip;
 
@@ -46,13 +45,15 @@ class TestController extends BaseController
             "out" => "test.png"
         ]);
 
+        var_dump($converter);
+
 //        $str = "<div style='color:red;font-weight:bold;'>aaa</div>";
 //        $converter = new ImageConverter($str, [
 //            "fmt" => "jpg",
 //            "out" => "test.jpg"
 //        ]);
 
-        $converter->convert();
+        //$converter->convert();
 
     }