Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 #779

Open
wants to merge 5 commits into
base: v2
Choose a base branch
from
Open

V2 #779

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions admin/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<th>剩余流量</th>
<th>已使用流量</th>
<th>最后签到</th>
<th>注册时间</th>
<th>邀请人</th>
<th>操作</th>
</tr>
Expand All @@ -45,6 +46,7 @@
<td><?php \Ss\Etc\Comm::flowAutoShow(($rs['transfer_enable']-$rs['u']-$rs['d'])); ?></td>
<td><?php \Ss\Etc\Comm::flowAutoShow(($rs['u']+$rs['d'])); ?></td>
<td><?php echo date('Y-m-d H:i:s',$rs['last_check_in_time']); ?></td>
<td><?php echo $rs['reg_date']; ?></td>
<td>
<?php
if ( $rs['ref_by'] != 0 ){
Expand Down
8 changes: 4 additions & 4 deletions lib/config-simple.php → lib/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
//Define DB Connection 数据库信息
define('DB_HOST','localhost');
define('DB_USER','root');
define('DB_PWD','password');
define('DB_DBNAME','db');
define('DB_PWD','radpass');
define('DB_DBNAME','shadowsocks');
define('DB_CHARSET','utf8');
define('DB_TYPE','mysql');
/*
Expand All @@ -31,8 +31,8 @@
$check_max = 100;

//name
$site_name = "ss-panel";
$site_url = "https://panel.com/";
$site_name = "52VPN";
$site_url = "http://www.52vpn.cf/";
/**
* 站点盐值,用于加密密码
* 第一次安装请修改此值,安装后请勿修改!!否则会使所有密码失效,仅限加密方式不为1的时候有效
Expand Down