Skip to content

基于SS-Panel-smarty-Edition修改而来的Trojan多用户面板,有巨大多的冗余代码。

License

Notifications You must be signed in to change notification settings

Ahref-Group/Trojan-Panel-Smarty-Edition

Repository files navigation

This Version is based on xuanhuan's SS-Panel-smarty.

========

本软件基于SS-Panel-smarty-Edition修改而来,仍有巨大多的冗余代码,已对Trojan-GFW兼容支持,大多数功能都可正常使用,有什么问题不要发issues了,能写完自己提交合并的最好都自己弄,一个5年前的破玩意凑合用嘛。 前端页面有一部分是日语的,强迫症的可以自己汉化回去。

========

重要/Important!

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,否则可能被他人恶意重置流量。

========

AdminSystem

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,用于防止直接访问模板文件,放在当前目录。

需求/Requirements

  • PHP >= 5.4 <7.x

  • PDO Extension

  • MCrypt Extension

  • Mysql >= 5.1

    如果使用PHP 7.x,则无法使用兑换码功能和其他可能偶尔出现但不影响使用的报错。

安装/Install

  • Import sql/*.sql to your MySQL Database
    sql/*.sql 导入到 MySQL。

  • Rename lib/config-sample.php && lib/Ss/Code/config-sample.php to config.php, and edit the infomation in lib/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.

管理员/Admin

  • 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 表里添加管理员。

到期时间与套餐等相关/Information about plan_end_time && plans (and so on)

参阅:/See:

https://github.com/Ahref-Group/SS-Panel-smarty-Edition/issues/26

使用 mail-gun 发邮件/Send mail using mail-gun

运行/Run:

$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar  install

感谢/Thanks

About

基于SS-Panel-smarty-Edition修改而来的Trojan多用户面板,有巨大多的冗余代码。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published