tweaked performance

This commit is contained in:
printempw 2016-03-27 10:56:51 +08:00
parent 8921fe38c8
commit 5ac2de58f3

View File

@ -3,7 +3,7 @@
* @Author: printempw * @Author: printempw
* @Date: 2016-01-17 13:55:20 * @Date: 2016-01-17 13:55:20
* @Last Modified by: printempw * @Last Modified by: printempw
* @Last Modified time: 2016-03-26 23:09:06 * @Last Modified time: 2016-03-27 10:56:06
*/ */
session_start(); session_start();
$dir = dirname(__FILE__); $dir = dirname(__FILE__);
@ -103,6 +103,7 @@ if (isset($_COOKIE['uname']) && isset($_COOKIE['token'])) {
</label> </label>
<button id="login-button" class="pure-button pure-button-primary">登录</button> <button id="login-button" class="pure-button pure-button-primary">登录</button>
</div> </div>
<div id="msg" class="alert hide"></div>
</div> </div>
<?php if (Option::get('user_can_register') == 1): ?> <?php if (Option::get('user_can_register') == 1): ?>
<div class="remodal" data-remodal-id="register-modal"> <div class="remodal" data-remodal-id="register-modal">