浏览代码

wesmiler ECY 画画交易平台

APPLE 3 年之前
父节点
当前提交
ee85e4491c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/common/controller/Frontend.php

+ 1 - 1
application/common/controller/Frontend.php

@@ -66,7 +66,7 @@ class Frontend extends Controller
         // 设置当前请求的URI
         $this->auth->setRequestUri($path);
         // 检测是否需要验证登录
-        if (!$this->auth->match($this->noNeedLogin)) {
+        if (!$this->auth->match($this->noNeedLogin) && strtolower($path) != 'index/index') {
             //初始化
             $this->auth->init($token);
             //检测是否登录