Browse Source

配置代理

陈德本 5 years ago
parent
commit
7d68aa38b5
1 changed files with 0 additions and 7 deletions
  1. 0 7
      Config/Proxy.php

+ 0 - 7
Config/Proxy.php

@@ -5,18 +5,11 @@ namespace Heanup\Config;
 
 
 use Heanup\Frame\Config;
-use Heanup\Library\Curl;
 
 class Proxy extends Config
 {
     public static function getData($section = null)
     {
-//        return "myhome.97admin.com:34185";
-        $rand=rand(1,5);
-        if ($rand==1){
-            define("USE_HOME", true);
-            return "myhome.97admin.com:34185";
-        }
         define("USE_HOME", false);
         $data = file_get_contents("http://myhome.97admin.com:5010/get/");
         $data = json_decode($data, true);