顶点网 » 脚本代码 » PasteShr v2.7 - 文字代码分享
十一月 30 2020年

PasteShr v2.7 - 文字代码分享

reishi  2020-11-30, 02:00   脚本代码  26 043  已测试  预约汉化
3 条评论

PasteShr v2.7 - 文字代码分享

源码简介

Pasteshr是一个脚本,允许您在线存储任何文本,以便轻松共享。这个脚本背后的想法是让人们更方便地在网上共享大量的文本。他可以公开创建代码片段,您可以在不方便粘贴代码的时候将代码存储在本站,并生成您专属的链接共享给他人。


在线演示

用户登录 – http://pasteshr.com/login
用户名 – [email protected]
密码 – demo123

后台管理 – http://pasteshr.com/admin/login
用户名 – [email protected]
密码 – admin123

本站演示
http://code.themez.cc


功能介绍

Bootstrap 4+
Simple & responsive interface
Material Design
Easy install
150+ different syntax languages
7+ Syntax Highlighting Skins (default, dark, coy, okadia, funky, solarized light, tomorrow night, twilight)
Password protected pastes
Encrypted pastes
Unlisted pastes
Private pastes
Paste expiration system
Self destroy pastes
Daily paste limit for authorized and unauthorized users
Share pastes on social network
Embed, download, print pastes
Clone pastes
Report explicit pastes
Multi-language support
Disqus comment system
Invisible captcha protection
AdBlocks – Ad management for advertisement
SEO friendly URLs
Auto generated sitemap
User management
Disqus comment system
Admin panel to manage pastes, syntax, users, pages, languages, translations & other settings
and many more.


系统需求

PHP 7.1.3 or later
MySQL 5.* or later
Apache web server
fopen enabled
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
XML PHP Extension
Ctype PHP Extension
JSON PHP Extension
BCMath PHP Extension



更新日志

v2.7 (September 16, 2020)
- Added folder feature
- Added active link feature & redirect page feature for codemirror syntax highlighter
- Added zip extension in installer check
- Fixed page edit in admin panel
- Renamed blocked words to censored words
- Added banned words
- Renamed blocked words to censored words
- Applied censored words to paste title
- Fixed user status field in admin panel
- Fixed AdBlock detection toggle in admin panel


下载地址


PasteShr v2.7 - 文字代码分享


  1. 默认头像

    niancc  (ViP)

    2020-12-22 08:34 5 条评论

    我想用LNMP搭建,可文件里是阿帕奇的伪静态,有没有Nginx的伪静态。。。

    引用: niancc
    我想用LNMP搭建,可文件里是阿帕奇的伪静态,有没有Nginx的伪静态。。。
    安装好后会出现429网页

  1. 默认头像

    reishi  (管理员)

    2020-12-22 08:35 1 547 条评论

    引用: niancc
    我想用LNMP搭建,可文件里是阿帕奇的伪静态,有没有Nginx的伪静态。。。

    源码是基于laravel框架的,试试这个
    
    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }
    

    或者
    
    if (!-d $request_filename){
    	set $rule_0 1$rule_0;
    }
    if ($uri ~ "(.+)/$"){
    	set $rule_0 2$rule_0;
    	set $bref_0_0 $1;
    }
    if ($rule_0 = "21"){
    	rewrite ^/ /${bref_0_0} permanent;
    }
    try_files $uri/ $uri /index.php$is_args$args;
    

  1. 默认头像

    niancc  (ViP)

    2020-12-22 08:40 5 条评论

    [quote=niancc]我想用LNMP搭建,可文件里是阿帕奇的伪静态,有没有Нгинх的伪静态。。。[/quote]安装好后会出现429网页[/quote]
    1.经过测试,用php降到7.1,解决问题429问题
    2.Nginx的伪静态
    location / {
    try_files $uri $uri/ /index.php?$query_string;
    }

信息

想要留言? 请 登录 您的账号。还没有? 你可以 点击注册账号

投票调查

对新模板的看法