GithubHelp home page GithubHelp logo

ywly / ss-panel-v3-mod Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ppss1806/ss-panel-v3-mod

0.0 1.0 0.0 125.9 MB

新增主题ms,加群讨论https://t.me/mstheme

License: MIT License

PHP 12.19% CSS 18.05% JavaScript 40.41% HTML 8.14% Smarty 21.19%

ss-panel-v3-mod's Introduction

说明

本主题基于0cc4229121484605829ecec760a410b269e2428c开发,请将ssr后端更新到最新版本。原因在于数据库结构的不同可能会造成一些异常。 需要注意的是,本主题从v1.0以后就不再支持赵大的原主题,数据库结构也有所改动,请慎重升级.

使用教程

全新安装

请参照赵大的安装教程,此处不再赘述。v1.0以后版本的mstheme分支不再兼容赵大的主题

由ms主题的1.0及更低版本升级

1、升级数据库 依次执行glzjin_34.sql及以后的sql文件

2、升级代码

git pull izhangxm  mstheme

izhangxm是远程仓库地址,需要修改成你自己的地址

3、升级config

根据.config.example重新修改.config文件

由赵大的0cc4229121484605829ecec760a410b269e2428c升级

由于数据库结构补边,所以主题完全兼容,各位小主们可以自由切换本主题与赵大主题。

首先确认自己的所在的分支是否有未提交的文件

git status

如果有那就提交下吧。如果不想提交,请参考7.3 Git 工具 - 储藏与清理

#提交自己的工作
git commit -a -m 'some comment'

然后执行以下命令

# 进入魔改面板目录
cd ss-panel-v3-mod/

# 添加远程分支
git remote add izhangxm https://github.com/izhangxm/ss-panel-v3-mod.git 

# 检出
git fetch izhangxm

# 切换分支
git checkout -b mstheme --track izhangxm/mstheme

# 如果你想兼容赵大的原主题,请切换到1.0
git reset --hard  v1.0

善后

  • 修改.config.php文件的主题类型为ms。如果用户没有修改过主题将使用此默认主题,如果用户指定过,那么此处配置无效,需要将用户的主题设置为ms
  • 删除storage下的framework文件夹,
  • 刷新浏览器即可看到效果

ss-panel-v3-mod's People

Contributors

glzjin avatar my971208 avatar esdeathlove avatar liton-8 avatar wulabing avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.