Kaynağa Gözat

버그 패치 정식 버전으로 전환

2DU 9 yıl önce
ebeveyn
işleme
f91a832ebe
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 1 1
      app.py
  2. 2 2
      templates/index.html

+ 1 - 1
app.py

@@ -2151,7 +2151,7 @@ def login():
 def check(name = None, sub = None, number = None):
     curs.execute("select * from user where id = '" + pymysql.escape_string(name) + "'")
     rows = curs.fetchall()
-    if(rows[0]['acl'] == 'owner' or rows[0]['acl'] == 'admin'):
+    if(rows and rows[0]['acl'] == 'owner' or rows and rows[0]['acl'] == 'admin'):
         return render_template('index.html', title = '차단 오류', logo = data['name'], data = '관리자는 검사 할 수 없습니다.')
     else:
         if(admincheck() == 1):

+ 2 - 2
templates/index.html

@@ -364,10 +364,10 @@
                     <li>일부 파일 <a class="out_link" href="https://twitter.com/Basix1120">Basix</a></li>
                     <br>
                     <h2>기타</h2>
-                    <li>현재 버전 1.5.8 - Beta <s>정식 버전은 10.0이라더라.</s></li>
+                    <li>버전 1.5.8.2 - 정식</li>
                     <br>
                     <h2>개발 이념</h2>
-                    <li>나(2DU) 쓰기 편한 엔진을 만들자</li>
+                    <li>나(<a class="out_link" href="https://github.com/2DU">2DU</a>) 쓰기 편한 엔진을 만들자</li>
                 </div>
                 {% elif tn == 15 %}
                 <h1 class="title">{{title}}</h1>