This Version is based on xuanhuan's SS-Panel-smarty.
========
本软件基于SS-Panel-smarty-Edition修改而来,仍有巨大多的冗余代码,已对Trojan-GFW兼容支持,大多数功能都可正常使用,有什么问题不要发issues了,能写完自己提交合并的最好都自己弄,一个5年前的破玩意凑合用嘛。 前端页面有一部分是日语的,强迫症的可以自己汉化回去。
========
If you need to use the normal/premium node group function, please use the server customized for this panel,please.
如果需要使用普通/高级节点组功能,请使用为本面板定制的服务端,请查看这里。
This edition requires Chrome or FireFox for compatible functioning and surfing.
为保证兼容性,请使用 Chrome 或 FireFox。
Please edit the file /lib/config-sample.php
upon your own need, when you finished, rename the file to /lib/config.php
. Set $site_url
as your website address, and be sure that it contains a /
at the end of your URL.
请按需修改 /lib/config-sample.php
的设置,然后把文件重命名成 /lib/config.php
。注意在填写网站网址$site_url
的时候在结尾加一个 /
。
Please make sure that /lib/Ss
has the permission to read & write. If not, please set it for convenience.
请确保目录 /lib/Ss
有读写权限,如果没有请改一下。
Please rename the/tools
, or you may be reset to another malicious.
请重命名/tools
,否则可能被他人恶意重置流量。
========
Please use the invite code to register and set your account as admin in your database.
Please change the encrypted salt in /lib/config.php. We offer「salt sha256」encrytion.
注意/Attention!:
-
The
$salt
value can not be changed after it has been set!
$salt
在被设置以后不能再次修改! -
增加 Nginx 的配置文件 tpl.conf,用于防止直接访问模板文件。 放在当前网站Nginx 配置文件相同目录,然后打开原来的配置文件,找到当前域名的server { } 在里面粘贴:include tpl.conf;
-
增加Apache 的配置文件 .htaccess,用于防止直接访问模板文件,放在当前目录。
-
PHP >= 5.4 <7.x
-
PDO Extension
-
MCrypt Extension
-
Mysql >= 5.1
如果使用PHP 7.x,则无法使用兑换码功能和其他可能偶尔出现但不影响使用的报错。
-
Import
sql/*.sql
to your MySQL Database
将sql/*.sql
导入到 MySQL。 -
Rename
lib/config-sample.php
&&lib/Ss/Code/config-sample.php
toconfig.php
, and edit the infomation inlib/config.php
. -
IMPORTANT:DON'T MANUALLY change
lib/Ss/Code/config.php
after doing above! -
IMPORTANT:DON'T MANUALLY change
lib/Ss/Code/config.php
after doing above! -
IMPORTANT:DON'T MANUALLY change
lib/Ss/Code/config.php
after doing above! -
Enjoy it.
- The user whose
uid
is 1 is the admin by default.
UID 为 1 的用户默认为管理员 - You can Add User ID into table
ss_user_admin
你可以在ss_user_admin
表里添加管理员。
参阅:/See:
https://github.com/Ahref-Group/SS-Panel-smarty-Edition/issues/26
运行/Run:
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install