dever 3 년 전
부모
커밋
639974b563
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main/lib/Core.php

+ 1 - 1
main/lib/Core.php

@@ -13,7 +13,7 @@ class Core
     public function __construct()
     {
         $this->uid = Dever::load('passport/user')->check(false);
-        if (!$this->uid) {
+        if ($this->uid <= 0) {
             $this->uid = 1;
         }
         if ($this->uid) {