陈德本 5 лет назад
Родитель
Сommit
248aacb706
2 измененных файлов с 3 добавлено и 1 удалено
  1. 2 1
      App/Api/Template/Message.phtml
  2. 1 0
      Config/Proxy.php

+ 2 - 1
App/Api/Template/Message.phtml

@@ -21,7 +21,8 @@
         <div class="panel-heading panel-title"> 当前号码:<?php
         <div class="panel-heading panel-title"> 当前号码:<?php
             echo $this->number_info['country'] . " " . $this->number_info['phone'];
             echo $this->number_info['country'] . " " . $this->number_info['phone'];
             if ($_GET['debug']==1){
             if ($_GET['debug']==1){
-                echo " 页面耗时".microtime_float()-PAGE_START;
+                echo " 页面耗时".(microtime_float()-PAGE_START);
+                echo " 使用".(USE_HOME?"自建代理":"猿代理");
             }
             }
              ?></div>
              ?></div>
         <div class="panel-body ">
         <div class="panel-body ">

+ 1 - 0
Config/Proxy.php

@@ -14,6 +14,7 @@ class Proxy extends Config
 //        return "myhome.97admin.com:34185";
 //        return "myhome.97admin.com:34185";
         $rand=rand(1,5);
         $rand=rand(1,5);
         if ($rand==1){
         if ($rand==1){
+            define("USE_HOME", true);
             return "myhome.97admin.com:34185";
             return "myhome.97admin.com:34185";
         }
         }
         $data = file_get_contents("http://myhome.97admin.com:5010/get/");
         $data = file_get_contents("http://myhome.97admin.com:5010/get/");