登录后免广告,享受更多奶昔会员权益!
您需要 登录 才可以下载或查看,没有账号?注册
×
之前跟Chevereto作者Rodolfo Berrios发布了基于v3的CheveretoChina(中国版),然而因为去年国庆被hostloc的欧阳封号导致我在hostloc上的所有帖子无法访问。之前以Chevereto 4.0.7发版后就不再更新,奈何人家找到了我的推特对着我屌一顿。直至本帖发布,其官网chevereto.com底部显示版本为4.3.6
若要安装Chevereto V4,需要PHP 版本要求 8.1 及以上,需要以下PHP扩展:fileinfo、imagemagick、exif。另外MySQL数据库版本支持 5.x 及 8.0。
如果是宝塔面板(aaPanel——还得删除 PHP 禁用函数putenv、proc_open (还得关闭防跨站)
下载:https://itxe.lanzout.com/ixJWk3c107aj
附Nginx伪静态规则 - # Chevereto Nginx rewrite rules
- # Make sure to place these inside your server{} block
- # Disable access to .ht* files
- location ~ /\.ht {
- deny all;
- }
- # Disable access to sensitive files in app path
- location ~ /(app|content|lib|importer)/.*\.(po|php|lock|sql|txt)$ {
- deny all;
- }
- # Disable log on not found images + image replacement
- location ~* (jpe?g|png|gif|webp) {
- log_not_found off;
- error_page 404 /content/images/system/default/404.gif;
- }
- # Enable CORS header (needed for CDN)
- location ~* \.(ttf|ttc|otf|eot|woff|woff2|css|js)$ {
- add_header Access-Control-Allow-Origin "*";
- }
- # Force serve upload path as static content (match your upload folder if needed)
- location /images {}
- # Route dynamic request to index.php
- location / {
- try_files $uri $uri/ /index.php$is_args$query_string;
- }
复制代码收起
该死的Rodolfo Berrios别来无恙!来自你的授权 https://web.archive.org/web/2023 ... ead-981141-1-1.html |