Browse Source

修复语言函数__的一处BUG

Karson 8 years ago
parent
commit
7ed5b5c6af
2 changed files with 2 additions and 1 deletions
  1. 1 0
      application/common.php
  2. 1 1
      application/extra/third.php

+ 1 - 0
application/common.php

@@ -21,6 +21,7 @@ if (!function_exists('__'))
         {
             $vars = func_get_args();
             array_shift($vars);
+            $lang = '';
         }
         return Lang::get($name, $vars, $lang);
     }

+ 1 - 1
application/extra/third.php

@@ -18,7 +18,7 @@ return [
         'scope'      => 'snsapi_userinfo',
     ],
     // QQ
-    // 申请请到https://connect.qq.com创建
+    // 申请请到https://connect.qq.com
     'qq'     => [
         'app_id'     => '',
         'app_secret' => '',