Selaa lähdekoodia

面板升級路徑變更

galaxychuck 7 vuotta sitten
vanhempi
sitoutus
1aad6c9995
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 2 2
      app/Command/Job.php
  2. 1 1
      bootstrap.php

+ 2 - 2
app/Command/Job.php

@@ -438,7 +438,7 @@ class Job
 
         $adminUser = User::where("is_admin", "=", "1")->get();
 
-        $latest_content = file_get_contents("https://github.com/esdeathlove/ss-panel-v3-mod/raw/new_master/bootstrap.php");
+        $latest_content = file_get_contents("https://raw.githubusercontent.com/NimaQu/ss-panel-v3-mod_UIChanges/master/bootstrap.php");
         $newmd5 = md5($latest_content);
         $oldmd5 = md5(file_get_contents(BASE_PATH."/bootstrap.php"));
 
@@ -453,7 +453,7 @@ class Job
                         echo "Send mail to user: ".$user->id;
                         $subject = Config::get('appName')."-系统提示";
                         $to = $user->email;
-                        $text = "管理员您好,系统发现有了新版本,您可以到 <a href=\"https://github.com/esdeathlove/ss-panel-v3-mod/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97\">https://github.com/esdeathlove/ss-panel-v3-mod/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97</a> 按照步骤进行升级。" ;
+                        $text = "管理员您好,系统发现有了新版本,您可以到 <a href=\"https://github.com/NimaQu/ss-panel-v3-mod_UIChanges/wiki/%E5%8D%87%E7%B4%9A%E7%89%88%E6%9C%AC\">https://github.com/NimaQu/ss-panel-v3-mod_UIChanges/wiki/%E5%8D%87%E7%B4%9A%E7%89%88%E6%9C%AC</a> 按照步骤进行升级。" ;
                         try {
                             Mail::send($to, $subject, 'news/warn.tpl', [
                                 "user" => $user,"text" => $text

+ 1 - 1
bootstrap.php

@@ -11,7 +11,7 @@ use App\Services\Boot;
 
 //  BASE_PATH
 define('BASE_PATH', __DIR__);
-define('VERSION', '20170829');
+define('VERSION', '20180219');
 
 // Vendor Autoload
 require BASE_PATH.'/vendor/autoload.php';